DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Recovery Probelm

  1. #1
    Join Date
    Jan 2003
    Location
    Bahrain
    Posts
    109

    Recovery Probelm

    Hi,

    Database is running on Archivelog Mode

    I took the cold backup on Saturday

    Today morning(Monday) I found all the datafiles,controlfiles are missing. But I have all the archivelog files from the saturday backup.

    To restore the database to the current state, I followed the following steps

    1. Copy the Datafiles, controlfiles from the saturday backup
    2. set oracle_sid=winter
    3. startup mount
    4. recover database using backup controlfile;(Oracle successfully applied all the archive logfiles)
    5 alter database open resetlogs;

    But I am getting the following error
    ora-01113: file 1 needs media recovery

    Did I miss any step? Can anyone to help to solve the above problem?

    Thanks
    Seelan

  2. #2
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938

    Re: Recovery Probelm

    If the database is recovered with the

    "RECOVER DATABASE USING BACKUP CONTROLFILE;"

    option without specifying the "UNTIL CANCEL" option, then upon "ALTER DATABASE OPEN RESETLOGS;" you will always get the ORA-1113 error.

    Steps to workaround this issue:

    1. Recover database again using:

    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;

    2. Cancel recovery by issuing the "CANCEL" command.

    3. Open the database using:

    SVRMGR> ALTER DATABASE OPEN RESETLOGS;
    Oracle Certified Master
    Oracle Certified Professional 6i,8i,9i,10g,11g,12c
    email: ocp_9i@yahoo.com

  3. #3
    Join Date
    Jan 2003
    Location
    Bahrain
    Posts
    109
    Thank you julain.

    After giving until cancel option, it is working fine

    Thanks
    Seelan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width