While restoring a database using RMAN CLONING, I got the following errors.
________________________________________________________________________________
RMAN> restore database;
Starting restore at 02-AUG-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/02/2012 11:16:52
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
_________________________________________________________________________________
After a thorough search, I found the command to check INCURNATION. After changing the incurnation the restore command worked.
RMAN> list incarnation of database;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1 1 ULTIMUS 29248347 PARENT 1 17-MAR-06
2 2 ULTIMUS 29248347 PARENT 526290 28-JUL-11
3 3 ULTIMUS 29248347 PARENT 4412812324 12-AUG-11
4 4 ULTIMUS 29248347 PARENT 4413871835 13-AUG-11
5 5 ULTIMUS 29248347 PARENT 5973604228 16-JAN-12
6 6 ULTIMUS 29248347 PARENT 6347087922 17-FEB-12
7 7 ULTIMUS 29248347 PARENT 7790199804 21-JUN-12
8 8 ULTIMUS 29248347 PARENT 7960820014 05-JUL-12
9 9 ULTIMUS 29248347 CURRENT 8047353605 12-JUL-12
As the current incarnation key is nine and its not working, so i tried the previous one, i.e. Inc Key-8.
RMAN> reset database to incarnation 8;
After issuing this command restoration was successful.
Brilliant. Thanks very much, I had been struggling for hours on this, but I found solution here
ReplyDelete:)
ReplyDeletewellcome.
amdis0sese_2001 Hector Buoy https://www.thefurnituretaxi.co.uk/profile/vyncynteberianrayshel/profile
ReplyDeletepostcarczines