Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to restore the spfile/controlfile from autobackup

Anurag Vidyarthi-OracleMay 29 2014 — edited Jun 3 2014

I am testing disaster recovery scenario with RMAN and Tape backups.I am using the recovery catalog and can see that controlfile and spfile is being backup every day :


RMAN> LIST BACKUP of controlfile COMPLETED BETWEEN '27-MAY-2014' AND '29-MAY-2014';

BS Key  Type LV Size       Device Type Elapsed Time Completion Time

------- ---- -- ---------- ----------- ------------ ---------------

10280802 Full    28.75M     SBT_TAPE    00:00:02     28-MAY-14

        BP Key: 10280805   Status: AVAILABLE  Compressed: NO  Tag: TAG20140528T231104

        Handle: 4cp9f149_1_1   Media: QR5116

  Control File Included: Ckp SCN: 693410124    Ckp time: 28-MAY-14

BS Key  Type LV Size       Device Type Elapsed Time Completion Time

------- ---- -- ---------- ----------- ------------ ---------------

10280848 Full    28.75M     SBT_TAPE    00:00:02     28-MAY-14

        BP Key: 10280850   Status: AVAILABLE  Compressed: NO  Tag: TAG20140528T231110

        Handle: c-1175149885-20140528-15   Media: QR5116

  Control File Included: Ckp SCN: 693410287    Ckp time: 28-MAY-14


I checked RMAN log also which says :

  Starting Control File and SPFILE Autobackup at 29-MAY-14

     piece handle=c-1175149885-20140529-0c comment=API Version 2.0,MMS Version 5.0.0.0

     Finished Control File and SPFILE Autobackup at 29-MAY-14

But when I run the following script :

RUN {

      set dbid=1175149885;

      startup force nomount;

      ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE'

      send 'NSR_ENV=(NSR_SERVER_NIC=backup-rac-1-306.test.com,NSR_CLIENT=ora-rac-1a,NSR_DATA_VOLUME_POOL=DD660VTL)' ;

      restore controlfile from 'c-1175149885-20140529-0c' ;

      RELEASE CHANNEL ch1;

      }

almost with many variations I am getting is almost same i.e it is not finding the controlfile backup :

Starting restore at 29-MAY-14

channel ch00: no AUTOBACKUP in 7 days found

released channel: ch00

RMAN-00571: =======================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: =======================================================

RMAN-03002: failure of restore command at 05/29/2014 13:52:25

RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece

I verified with some different handles too but even these handles(as listed in RMAN backup LIST output - above) are not useful in restore controlfile :

Any guess why it is not able to find the autobackup ?

PS : send command is same as I used for backup.

Thanks in advance,

Avid

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2014
Added on May 29 2014
10 comments
5,224 views