Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Oracle > Restore a missing archivelog

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-09-08, 06:31
Mimas Mimas is offline
Registered User
 
Join Date: Oct 2008
Posts: 5
Restore a missing archivelog

Hello all,

I am facing a problem regarding a Datafile which cannot become online and be restored since a deleted archivelog is missing.

I try to change to online a datafile:
ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/stuff01.dbf' ONLINE;

I receive the following error:
ORA-01113: file 21 needs media recovery
ORA-01110: data file 21: '/oradata3/RATER/rater_datafiles/dat/sms_rater_dr_outcdr_dat0804_01.dbf'


I try to recover it:
SQL>recover datafile '/oradata3/RATER/rater_datafiles/dat/sms_rater_dr_outcdr_dat0804_01.dbf';

and I receive an error saying that a specific archivelog is missing. This archivelog was deleted since I am taking twice a day backup of archivelogs and then copy the previous to a local path for disk space reasons but the specific one was deleted.

My Db is in archivelog mode, I have a full backup once a week and a daily Differential (incremental level 1).

What can I do for the Datafile to change it to online?

thanks
Mimas
Reply With Quote
  #2 (permalink)  
Old 10-09-08, 06:37
cis_groupie cis_groupie is offline
Registered User
 
Join Date: Jun 2004
Posts: 442
Have you tried recovering to a point in time (i.e. prior to the archivelog being deleted)?
__________________
90% of users' problems can be resolved by punching them - the other 10% by switching off their PCs.
Reply With Quote
  #3 (permalink)  
Old 10-09-08, 06:47
Mimas Mimas is offline
Registered User
 
Join Date: Oct 2008
Posts: 5
Quote:
Originally Posted by cis_groupie
Have you tried recovering to a point in time (i.e. prior to the archivelog being deleted)?

No I haven't tried it because I do not know how.

Could you please tell me?

thnks
Mimas
Reply With Quote
  #4 (permalink)  
Old 10-09-08, 08:35
cis_groupie cis_groupie is offline
Registered User
 
Join Date: Jun 2004
Posts: 442
Try this page of the documentation:

http://students.kiv.zcu.cz/doc/oracl...osrecov008.htm

(PITR is at the bottom of the page).
__________________
90% of users' problems can be resolved by punching them - the other 10% by switching off their PCs.
Reply With Quote
  #5 (permalink)  
Old 10-09-08, 10:50
Mimas Mimas is offline
Registered User
 
Join Date: Oct 2008
Posts: 5
Quote:
Originally Posted by cis_groupie
Try this page of the documentation:

http://students.kiv.zcu.cz/doc/oracl...osrecov008.htm

(PITR is at the bottom of the page).

Thanks for the help!
Reply With Quote
  #6 (permalink)  
Old 10-09-08, 11:03
cis_groupie cis_groupie is offline
Registered User
 
Join Date: Jun 2004
Posts: 442
No problem
__________________
90% of users' problems can be resolved by punching them - the other 10% by switching off their PCs.
Reply With Quote
  #7 (permalink)  
Old 10-09-08, 16:36
beilstwh beilstwh is offline
Registered User
 
Join Date: Jun 2004
Location: Liverpool, NY USA
Posts: 1,642
since you are backing up your archive logs to tape (I assume), why not simply restore the missing archivelog and continue your restore. I am making the assumption that you aren't doing something silly like wiping out your archives without backing them up to a media that can be accessed back to your previous full backup.
__________________
Bill
Cream always raises to the top, and so does the scum!!
Reply With Quote
  #8 (permalink)  
Old 10-10-08, 02:51
Mimas Mimas is offline
Registered User
 
Join Date: Oct 2008
Posts: 5
Quote:
Originally Posted by beilstwh
since you are backing up your archive logs to tape (I assume), why not simply restore the missing archivelog and continue your restore. I am making the assumption that you aren't doing something silly like wiping out your archives without backing them up to a media that can be accessed back to your previous full backup.

I backup the archivelogs to a different path with enough disk space but the specific archivelog was deleted by someone (this DB is at my work and many are using it) so I cannot find it.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On