RECOVERY OF CALENDAR DATA
I have a Macbook Air operating on Yosemite 10.10.1.
I have just inadvertently lost all of my Calendar data by activating the iCloud Drive and then realising that I didn't want to put the Calendar on it and deselecting this on the iCloud Preferences.
It did come up with a message saying that all data on he drive would be deleted from the Mac, but I didn't think that I had put anything on it at that stage.
I would like to recover the Calendar. I have back-up on a Passport-for-Mac using Time Machine, but cannot identify where the "old" Calendar data file is.
Can anybody help please?
Hi
No I hadn't created a Calendar Archive before this mishap (I will now), and I thought it would be covered by the Time Machine Backup. I was activating my iCloud drive for the first time and I think that it was doing this that somehow lost the calendar data. Previously the Calendar data was on the Mac hard drive.
I have now managed to get the old calendar back, but I don't quite know how.
The links to calendar backup in your reply led me to tinker more with the Time Machine, and the data on the My Passport drive directly. I could not see the any calendar directly in Finder or Time Machine, but a Finder search on My Passport's latest backup showed various calendar stuff, including .ics files, in [users/myname/library] which were hidden.
I either restored one of these, or imported one via Calendar. I tried both, but neither seemed to work at the time. However, I reopened Calendar a some time later and found that the “lost” calendar had returned.
I couldn't find a way of revealing hidden files in the preferences, and I think that the library containing the Calendar files must be hidden because I could only see them via “search”.
Anyway, all's well that ends well, but I wish that I really knew how I fixed it. Thanks for your help.
Similar Messages
-
Recovery of Calendar data lost when Merging with iCloud
I Was wondering if anyone could help.
Basically, I have somehow managed to wipe ALL the entries from my partners iPhone 5c calendar when turning calendars on for iCloud. When prompted I pressed the merge calendars button and then everything disappeared. I turned iCloud calendars off again and the calendar which was called something like "on my iphone" has disappeared.
I downloaded some 3rd party software which scanned the phone and found the calendar entries, but to restore them would cost my £55 for the full version of the software. Is there a way to access this data and restore it without spending this sort of money?
Just to complicate matters, a backup of her phone hasn't been done since the start of june, roughly 7 weeks ago. I'm concerned that if I restore from that backup she'll lose contacts she's added since there along with saves and other updates she's made to apps on her phone, which will put me in even more trouble than I'm in already. I'm guessing the phone hasn't been synced with iTunes since this backup was made, although I have transferred recent purchases.
So, is there a way to recover the calendar data that has disappeared without losing anything else?
Thanks for for your helpHi
No I hadn't created a Calendar Archive before this mishap (I will now), and I thought it would be covered by the Time Machine Backup. I was activating my iCloud drive for the first time and I think that it was doing this that somehow lost the calendar data. Previously the Calendar data was on the Mac hard drive.
I have now managed to get the old calendar back, but I don't quite know how.
The links to calendar backup in your reply led me to tinker more with the Time Machine, and the data on the My Passport drive directly. I could not see the any calendar directly in Finder or Time Machine, but a Finder search on My Passport's latest backup showed various calendar stuff, including .ics files, in [users/myname/library] which were hidden.
I either restored one of these, or imported one via Calendar. I tried both, but neither seemed to work at the time. However, I reopened Calendar a some time later and found that the “lost” calendar had returned.
I couldn't find a way of revealing hidden files in the preferences, and I think that the library containing the Calendar files must be hidden because I could only see them via “search”.
Anyway, all's well that ends well, but I wish that I really knew how I fixed it. Thanks for your help. -
Calendar data recovery.
iPhone calendar was inadvertantly set to NOT keep track of events more than 30-days old. After 2 months of losing calendar items this was corrected. If their any way to recover the lost calendar items?
Hi
No I hadn't created a Calendar Archive before this mishap (I will now), and I thought it would be covered by the Time Machine Backup. I was activating my iCloud drive for the first time and I think that it was doing this that somehow lost the calendar data. Previously the Calendar data was on the Mac hard drive.
I have now managed to get the old calendar back, but I don't quite know how.
The links to calendar backup in your reply led me to tinker more with the Time Machine, and the data on the My Passport drive directly. I could not see the any calendar directly in Finder or Time Machine, but a Finder search on My Passport's latest backup showed various calendar stuff, including .ics files, in [users/myname/library] which were hidden.
I either restored one of these, or imported one via Calendar. I tried both, but neither seemed to work at the time. However, I reopened Calendar a some time later and found that the “lost” calendar had returned.
I couldn't find a way of revealing hidden files in the preferences, and I think that the library containing the Calendar files must be hidden because I could only see them via “search”.
Anyway, all's well that ends well, but I wish that I really knew how I fixed it. Thanks for your help. -
Dear wise & wondeful people:
How can I get missing contacts, notes, calendar dates and reminders that are just on my old iphone onto the iCloud for transfer to my new iPhone upgrade? Half of my contacts, notes, ect. were on my iCloud so have happily moved to my new iPhone but the rest are completely resistant. For example, on my iCloud I have 14 missing contacts starting with the letter A alone, however they are happily viewable on my old iPhone 4S and won't budge over into the iCloud.
There are also 3 notes missing yet still acessible on my onld iPhone 4S, the list goes on.
Your help would be most appreciated. Thank you so much.
BCHRHi BCHR,
If you are having issues transfering your content from your old iPhone onto iCloud so it can be transfered to your new iPhone, you may find the following articles helpful:
iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
http://support.apple.com/kb/HT2109
iCloud: Troubleshooting iCloud Contacts
http://support.apple.com/kb/TS3998
iCloud: Troubleshooting iCloud Calendar
http://support.apple.com/kb/TS3999
iCloud: Notes overview
http://support.apple.com/kb/PH12081
Regards,
- Brenden -
ITunes Calendar data doesn't match Outlook's. How can I fix?
I have a new iPhone and just recently discovered that the Calendar is not updating,
probably since the first time I synced. And even then it was using old calendar data which
doesn't currently show up in Outlook. (Contacts sync perfectly.) Applecare took me
through their 1st and 2nd-level support troubleshooting and said they couldn't do anything more.
They suggested possible corruption of outlook.pst.
One glaring example: I used to have 3 calendars in Outlook: "Bridge", "Calendar" and
"Others". I recently deleted all but the one called Calendar, but all 3 still show up in
iTunes, even though I've uninstalled/reinstalled iTunes twice. Only "Calendar" shows up on
the iPhone, but it has old data. I think the data it's displaying has not been refreshed
since 9/23/11, when I moved the outlook.pst file to a location in My Documents for easier
backup, but that doesn't really make sense since the Contacts update just fine. (I've had
an iPad for about a year, and it's behaving the same as the iPhone now; the Calendar used
to update properly.) Another possible clue: the iPhone shows two instances of one
particular recurring appointment. I don't recall ever having two instances of it in
Outlook and wonder if that could be the problem. I removed it altogether from Outlook and
that didn't help.
I've done extensive testing with a new Windows user account and Outlook, and the calendar
syncing seems to work fine. I've Googled "iPhone calendar won't update" and similar and
haven't found anything that works for my situation.
I'm running Office 2003 on Windows XP. I do NOT use Outlook for mail.I was having the same problems after downloading 10.4.1 IStore would only download half way then nothing attempted reinstall no goood checked the Diagnostics with IPad connected, indicated no errors. more than a few hours browsing possible solutions. Found one stating 'Remove all Itunes connected software, i.e. Bonjour, ITunes, Safari etc from PC via the Uninstall Safely Feature and ReInstall. Hey Presto it worked now no issues.
Good Luck. I am using Windows 7.
That's my problem exactly, but I can't find the: ''Uninstall Safely Feature and ReInstall''. Where is that??
Thank You -
HELP - I've lost all my Calendar data, most of my Notes, and other issues
In priority order:
1. Sometime in the last two days my iPhone 4S, with IOS 7.0.4, lost all my Calendar data except birthdays from Contacts.
2. Most of my Notes are lost except those from PC.
WRT the above, iPad data is still intact.
3. IOS 7.0.4 crashes apps A LOT! Even Apple apps.
4. IOS 7.0.4 is slow.Resolved items 1 & 2 by rebooting the phone. I am happy that it resolved, but it shouldn't have happened n the first place.
-
I have a problem synching calendar data between my iPhone 3GS iOS 5.1 & Outlook 2007 on MS7. The basic calendar data transfer is OK but the birthdays (little box icon) are a day early & cannot be changed to the correct date. The birthday entries in my Outlook contacts have correct dates.How can I fix this?
The following peocess corrects the calendar entry:
edit the contact & change the birthday, save the change; edit the contact & change the birthday to the correct value, save the change again. The calendar entry then displays on the correct date. Alternatively as a temp solution I can just de-select the "birthdays" calendar which stops the icon being displayed.
Thanks for your advice, I think that it's n going to be a slow process to fix all the entries for not much return. -
Working day to factory calendar date
Hello Experts,
I wish to get the factory calendar date, specific to a factory calendar, based on a working day.
Basically, if i pass say 4, then i want to get the date for the 4th working day based on a specific factory calendar.
Can someone throw some light on possible function module that i can use in BW ?
ThanksThat's what I was giving you, you give the working day and the factory calendar and you get the date, or you can use this function and you can do it the other way:
(Unless I'm completely missing your point here...)
CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
EXPORTING
CORRECT_OPTION = '+'
DATE = G_WORKAREA3-CREATEDON
FACTORY_CALENDAR_ID = L_S_PLANT-FACTCAL_ID
IMPORTING
* DATE =
FACTORYDATE = L_FCDATE
EXCEPTIONS
CALENDAR_BUFFER_NOT_LOADABLE = 1
CORRECT_OPTION_INVALID = 2
DATE_AFTER_RANGE = 3
DATE_BEFORE_RANGE = 4
DATE_INVALID = 5
FACTORY_CALENDAR_NOT_FOUND = 6
OTHERS = 7.
ENDIF. -
ICal sycing calendar dates to iPhone
Hi,
When I plug the iPhone into the mac via USB and open iTunes, the calendar dates in iCal do not get synced across. I have gone into iCal and looked for a way to send dates to the phone, but without success. Can anoyone help, please? iTunes does send contacts - just not iCal dates.
Thanks!I finally got it fixed with a little help from some related posts online.
- Delete any files with 'cache' in the name that are in ~/Library/Calendars
- Launch iSync, go to Preferences, and do Reset Sync History
- Log out and log back in
I don't know if it's one or both of the first two items, but it did the trick. -
The contacts and calendar data on my iPod touch will not sync with my Mac
I have a 2nd generation ipod touch, and an iMac running iTunes 8.2.1.
I have been away from my mac for a few months and have entered a lot of contact and calendar info into my ipod touch.
Now, when I try to sync the contacts and calendar data on my ipod touch with my mac, the data will not sync to my mac.
Similarly, for the last couple months, the contact and calendar data on my ipod touch has not been able to sync with my mobileme account.
I cannot afford to lose the contact and calendar data on my ipod touch.
Can anyone kindly inform me how to fix this syncing problem without losing such data?DGKSA wrote:
I ended up entering the data onto my Mac, then nuking my iPod touch with a restore.
So, there is no need to respond to my question.
You can also mark your post as "solved" if you solved your problem on your own.
Only the original topic poster has the option to mark replies as either Helpful or Solved or to not mark a reply at all. The originator can also end the discussion by marking the topic as "answered," which displays a green star at the top of the topic page to let everyone know that the topic contains valid helpful information.
copied from "Terms of Use" -
Some calendars in iCal appear corrupted (ie have red exclamation mark by them) but are still OK on iPhone. If I sync, will the calendar data on the phone restore info on the desktop iCal or will I lose that as well? Or could I back up the calendars on my iPhone somewhere and then import them into iCal? any other ideas for how to sort this please? it's driving me mad. thanks.
I don't think there will be a solution to this. Exchange 2003 just isn't supported.
-
I have noticed that my iPod nano will reboot itself after it has been syncing/charging. It reboots when I go to the last playlist that was playing before I began to sync/charge it. Also, it would randomly reboots when I am selection a playlist.
Then, it won't sync my contact/calendar data if it nearly full. But I can sync them when it is nearly empty.
What is causing the problem and how can I fix it?if you have done restores then possibly it is a firmware issue... i would take it to the apple store if you can to get it looked at...
-
Control file lost and datafile addeed restore/recovery with no data loss
Here i have tried to the following
created new table called t2 and made sure data went to a specific tablespace...
took a level 0 backup
removed the control file
added couple of datafile to above tablespace and then inserted more data
then went out to restore control file and the database...but datafile still could not be opened ?? what did i do wrong here....
SQL> @datafile
-- list of datafile
Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT
UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES
USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES
CNT_TST Datafile ONLINE AVAILABLE 1 9 10 0 /data3/trgt/cnt_tst01.dbf 7 NO
SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES
USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES
SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES
USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES
7 rows selected.
-- new table is created called t2 and its going into TS called cnt_tst
SQL> CREATE TABLE TEST.T2
C1 DATE,
C2 NUMBER,
C3 NUMBER,
C4 VARCHAR2(300 BYTE)
TABLESPACE cnt_tst; 2 3 4 5 6 7 8
Table created.
-- data inserted
SQL> INSERT INTO
test.T2
SELECT
FROM
(SELECT
SYSDATE,
ROWNUM C2,
DECODE(MOD(ROWNUM,100),99,99,1) C3,
RPAD('A',300,'A') C4
FROM
DUAL
CONNECT BY
LEVEL <= 10000)
; 2 3 4 5 6 7 8 9 10 11 12 13 14 15
10000 rows created.
SQL> commit;
Commit complete.
-- to check of cnt_tst has any free space or not, as we can see its full
SQL> @datafile
Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT
UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES
USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES
SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES
USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES
SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES
USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES
CNT_TST Datafile ONLINE AVAILABLE 10 0 10 0 /data3/trgt/cnt_tst01.dbf 7 NO
7 rows selected.
SQL> select count(*) from test.t2;
COUNT(*)
10000
1 row selected.
-- to get a count and max on date
SQL> select max(c1) from test.t2;
MAX(C1)
29-feb-12 13:47:52
1 row selected.
SQL> -- AT THIS POINT A LEVEL 0 BACKUP IS TAKEN (using backup database plus archivelog)
SQL> -- now control files are removed
SQL> select name from v$controlfile;
NAME
/ctrl/trgt/control01.ctl
/ctrl/trgt/control02.ctl
2 rows selected.
SQL>
SQL> ! rm /ctrl/trgt/control01.ctl
SQL> ! rm /ctrl/trgt/control02.ctl
SQL> ! ls -ltr /ctrl/trgt/
ls: /ctrl/trgt/: No such file or directory
SQL>
-- new datafile is added to CNT_TST TABLESPACE and new data is added as well
SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST02.dbf' SIZE 100M AUTOEXTEND OFF;
Tablespace altered.
SQL> ALTER SYSTEM CHECKPOINT;
System altered.
SQL> alter system switch logfile;
System altered.
SQL> /
System altered.
SQL> /
System altered.
SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST03.dbf' SIZE 100M AUTOEXTEND OFF;
Tablespace altered.
SQL> INSERT INTO
test.T2
SELECT
FROM
(SELECT
SYSDATE,
ROWNUM C2,
DECODE(MOD(ROWNUM,100),99,99,1) C3,
RPAD('A',300,'A') C4
FROM
DUAL
CONNECT BY
LEVEL <= 10000)
; 2 3 4 5 6 7 8 9 10 11 12 13 14 15
10000 rows created.
SQL> /
10000 rows created.
SQL> commit;
Commit complete.
SQL> INSERT INTO
test.T2
SELECT
FROM
(SELECT
SYSDATE,
ROWNUM C2,
DECODE(MOD(ROWNUM,100),99,99,1) C3,
RPAD('A',300,'A') C4
FROM
DUAL
CONNECT BY
LEVEL <= 40000)
; 2 3 4 5 6 7 8 9 10 11 12 13 14 15
40000 rows created.
SQL> commit;
Commit complete.
SQL> @datafile
-- to make sure new datafile has been registered with the DB
Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT
CNT_TST Datafile ONLINE AVAILABLE 9 91 100 0 /data3/trgt/CNT_TST03.dbf 9 NO
UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES
USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES
CNT_TST Datafile ONLINE AVAILABLE 9 91 100 0 /data3/trgt/CNT_TST02.dbf 8 NO
SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES
USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES
SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES
USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES
CNT_TST Datafile ONLINE AVAILABLE 10 0 10 0 /data3/trgt/cnt_tst01.dbf 7 NO
9 rows selected.
-- now the count and max ... note count before backup was 10000 and max(c1) was diff
SQL> select count(*) from test.t2;
COUNT(*)
70000
1 row selected.
SQL> select max(c1) from test.t2;
MAX(C1)
29-feb-12 13:58:25
1 row selected.
SQL> -- now restore starts
SQL> shutdown abort;
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@berry trgt]$ rman
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 29 14:01:48 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect catalog rman/pass@rcat
connected to recovery catalog database
RMAN> connect target /
connected to target database (not started)
RMAN> startup nomount;
Oracle instance started
Total System Global Area 188313600 bytes
Fixed Size 1335388 bytes
Variable Size 125833124 bytes
Database Buffers 58720256 bytes
Redo Buffers 2424832 bytes
RMAN> restore controlfile from autobackup;
Starting restore at 29-FEB-12 14:02:37
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 device type=DISK
recovery area destination: /backup/trgt/flash_recovery_area
database name (or database unique name) used for search: TRGT
channel ORA_DISK_1: no AUTOBACKUPS found in the recovery area
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20120229
channel ORA_DISK_1: AUTOBACKUP found: /backup/trgt/backup/cont_c-3405317011-20120229-09
channel ORA_DISK_1: restoring control file from AUTOBACKUP /backup/trgt/backup/cont_c-3405317011-20120229-09
channel ORA_DISK_1: control file restore from AUTOBACKUP complete
output file name=/ctrl/trgt/control01.ctl
output file name=/ctrl/trgt/control02.ctl
Finished restore at 29-FEB-12 14:02:39
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> recover database;
Starting recover at 29-FEB-12 14:02:55
Starting implicit crosscheck backup at 29-FEB-12 14:02:55
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 device type=DISK
Crosschecked 96 objects
Finished implicit crosscheck backup at 29-FEB-12 14:02:57
Starting implicit crosscheck copy at 29-FEB-12 14:02:57
using channel ORA_DISK_1
Finished implicit crosscheck copy at 29-FEB-12 14:02:57
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log
archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log
archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log
archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10
archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10
archived log file name=/redo_archive/trgt/archive/1_11_776523284.dbf thread=1 sequence=11
archived log file name=/redo_archive/trgt/archive/1_12_776523284.dbf thread=1 sequence=12
archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 02/29/2012 14:02:59
ORA-01422: exact fetch returns more than requested number of rows
RMAN-20505: create datafile during recovery
RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/redo_archive/trgt/online/redo01.log'
ORA-00283: recovery session canceled due to errors
ORA-01244: unnamed datafile(s) added to control file by media recovery
ORA-01110: data file 9: '/data3/trgt/CNT_TST03.dbf'
RMAN> -- wnet to session 2 and renamed datafile from unammed-- wnet to session 2 and renamed datafile for unammed file
SQL> select name from v$datafile;
NAME
/data/trgt/system01.dbf
/data/trgt/sysaux01.dbf
/data/trgt/undotbs01.dbf
/data3/trgt/move/users01.dbf
/data3/trgt/user02.dbf
/data3/trgt/users03.dbf
/data3/trgt/cnt_tst01.dbf
/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008
/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009
9 rows selected.
SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008' as '/data3/trgt/CNT_TST02.dbf';
Database altered.
SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009' as '/data3/trgt/CNT_TST03.dbf';
Database altered.
SQL> select name from v$datafile;
NAME
/data/trgt/system01.dbf
/data/trgt/sysaux01.dbf
/data/trgt/undotbs01.dbf
/data3/trgt/move/users01.dbf
/data3/trgt/user02.dbf
/data3/trgt/users03.dbf
/data3/trgt/cnt_tst01.dbf
/data3/trgt/CNT_TST02.dbf
/data3/trgt/CNT_TST03.dbf
9 rows selected.after above was done, went back to session 1 and tried recovered the DB
RMAN> recover database;
Starting recover at 29-FEB-12 14:06:16
using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log
archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log
archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log
archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13
archived log file name=/redo_archive/trgt/online/redo02.log thread=1 sequence=14
archived log file name=/redo_archive/trgt/online/redo03.log thread=1 sequence=15
media recovery complete, elapsed time: 00:00:00
Finished recover at 29-FEB-12 14:06:17
RMAN> alter database open resetlogs;
database opened
new incarnation of database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
starting full resync of recovery catalog
full resync complete
RMAN> exit
Recovery Manager complete.
[oracle@berry trgt]$
[oracle@berry trgt]$
[oracle@berry trgt]$ sq
SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 29 14:07:18 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss:
2
SQL>
SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss";
Session altered.
SQL> select count(*) from test.t2;
select count(*) from test.t2
ERROR at line 1:
ORA-00376: file 8 cannot be read at this time
ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
SQL> select max(c1) from test.t2;
select max(c1) from test.t2
ERROR at line 1:
ORA-00376: file 8 cannot be read at this time
ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
SQL> alter database datafile 8 online;
alter database datafile 8 online
ERROR at line 1:
ORA-01190: control file or data file 8 is from before the last RESETLOGS
ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
{code}
so what did i do wrong in my recovery that i could not get my data?? how can i avoid this?? and restore my DB?
Edited by: user8363520 on Feb 29, 2012 12:24 PMuser8363520 wrote:
Here i have tried to the following
created new table called t2 and made sure data went to a specific tablespace...
took a level 0 backup
removed the control file
added couple of datafile to above tablespace and then inserted more data
then went out to restore control file and the database...but datafile still could not be opened ?? what did i do wrong here....
SQL> @datafile
-- list of datafile
Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT
UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf ; 3 YES
USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf ; 5 YES
CNT_TST Datafile ONLINE AVAILABLE 1 9 10 0 /data3/trgt/cnt_tst01.dbf ; 7 NO
SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf ; 2 YES
USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf ; 4 YES
SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf ; 1 YES
USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf ; 6 YES
7 rows selected.
-- new table is created called t2 and its going into TS called cnt_tst
SQL> CREATE TABLE TEST.T2
C1 DATE,
C2 NUMBER,
C3 NUMBER,
C4 VARCHAR2(300 BYTE)
TABLESPACE cnt_tst; 2 3 4 5 6 7 8
Table created.
-- data inserted
SQL> INSERT INTO
test.T2
SELECT
FROM
(SELECT
SYSDATE,
ROWNUM C2,
DECODE(MOD(ROWNUM,100),99,99,1) C3,
RPAD('A',300,'A') C4
FROM
DUAL
CONNECT BY
LEVEL <= 10000)
; 2 3 4 5 6 7 8 9 10 11 12 13 14 15
10000 rows created.
SQL> commit;
Commit complete.
-- to check of cnt_tst has any free space or not, as we can see its full
SQL> @datafile
Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT
UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf ; 3 YES
USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf ; 5 YES
SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf ; 2 YES
USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf ; 4 YES
SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf ; 1 YES
USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf ; 6 YES
CNT_TST Datafile ONLINE AVAILABLE 10 0 10 0 /data3/trgt/cnt_tst01.dbf ; 7 NO
7 rows selected.
SQL> select count(*) from test.t2;
COUNT(*)
10000
1 row selected.
-- to get a count and max on date
SQL> select max(c1) from test.t2;
MAX(C1)
29-feb-12 13:47:52
1 row selected.
SQL> -- AT THIS POINT A LEVEL 0 BACKUP IS TAKEN (using backup database plus archivelog)
SQL> -- now control files are removed
SQL> select name from v$controlfile;
NAME
/ctrl/trgt/control01.ctl
/ctrl/trgt/control02.ctl
2 rows selected.
SQL>
SQL> ! rm /ctrl/trgt/control01.ctl
SQL> ! rm /ctrl/trgt/control02.ctl
SQL> ! ls -ltr /ctrl/trgt/
ls: /ctrl/trgt/: No such file or directory
SQL>
-- new datafile is added to CNT_TST TABLESPACE and new data is added as well
SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST02.dbf' SIZE 100M AUTOEXTEND OFF;
Tablespace altered.
SQL> ALTER SYSTEM CHECKPOINT;
System altered. Upto this i was clear, but now i cann't understand when you actually dropped the control file from you database(in running stat) how can you perform "alter system checkpoint" and other "alter tablespace.." command? Once controlfile is inaccessible, oracle database is not suppose to function. -
Which more beneficial data recovery services or data recovery softwares?
I am just try to figure out some thing which works best out of these two. As recently have gone through a recovery company Stellar Data Recovery http://www.stellarinfo.co.in/company/company.php . And after surveying i found companies proving software also.
The services paid more isnt it? but the recovery is maximum. what you think?A perfect solution from the court of Recover data, is launched for the data recovery from damaged partition of windows operating system, it provides an edge to the failure of the data stored on the drive of windows, and deliver it safely to the users preferred
location on the drive. The software is enriched of user friendly attributes, that offers an outstanding services and support to the users. visit:- http://www.en.windowsrecovery.net and get more info -
I recently tried to update my iPhone 3 software via my mothers Mac book comp - during the upgrade I lost all my music and calendar dates and now the iTunes on my phone has my mothers iTunes detail - how do I get all my info back on the phone?
Restore it using the computer you normally sync with.
Maybe you are looking for
-
How to format and hard reset N79? *#7370# does onl...
Hi! I tried to format my Nokia N79 with *#7370# but all applications and contacts ect are still there. Is there a way to complettly reset and format the phone? Solved! Go to Solution.
-
Swap items from Sales Document to Billing Document
Hello, I am facing with the following issue. We had customizing a Billing plan, that means that the information to make the billing document comes from the sales order. The sales document have 2 materials for sale, the first one must be delivered (it
-
I just yesterday had FIOS installed. I subscribe to Prime HD, but the resolution is only 720 p. How do I get it to show the resolution of 1080i? Do I have to get a technician to change it? Please tell me how and who I should contact.
-
Oracle virtula box machine not working properly
Hi All, I have installed oracle virtual machine with Redhat 6 OS. My host machine is also on Redhat 6 OS. The issue I am facing is when I am connecting to virtual machine through Team viewer connection , any special characters are not working i.e /,*
-
Comparing Versions of Certified PDFs
We have an application that stores PDF documents in Oracle in a BLOB column. The documents get a certifying signature before they are first added to the database. They then get pulled out and displayed to the user in an embedded Acrobat 7 or 9 Contro