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!

recover from full backup

420604Feb 23 2009 — edited Feb 24 2009
Running Oracle 11g (11.1.0.6)

On the source machine, I do a:

RMAN> backup database
RMAN> backup archivelog all;

On a clone target machine I do a

RMAN> restore database; # that works

RMAN> recover database;

[snip === Lots of stuff, below is near end]

archived log file name=/ora/oracle/11.1.0/db_1/dbs/arch1_12622_651510851.dbf thread=1 sequence=12622
archived log file name=/ora/oracle/11.1.0/db_1/dbs/arch1_12623_651510851.dbf thread=1 sequence=12623
archived log file name=/ora/oracle/11.1.0/db_1/dbs/arch1_12624_651510851.dbf thread=1 sequence=12624
archived log file name=/ora/oracle/11.1.0/db_1/dbs/arch1_12625_651510851.dbf thread=1 sequence=12625
archived log file name=/ora/oracle/11.1.0/db_1/dbs/arch1_12626_651510851.dbf thread=1 sequence=12626
archived log file name=/ora/oracle/11.1.0/db_1/dbs/arch1_12627_651510851.dbf thread=1 sequence=12627
archived log file name=/ora/oracle/11.1.0/db_1/dbs/arch1_12628_651510851.dbf thread=1 sequence=12628
unable to find archived log
archived log thread=1 sequence=12629
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 02/23/2009 15:29:21
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 12629 and starting SCN of 320664112



The relevant output from the LIST BACKUPSET is:

BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
50 Full 3.66G DISK 01:08:09 20-FEB-09
BP Key: 50 Status: AVAILABLE Compressed: YES Tag: TAG20090219T230638
Piece Name: /ora-local/blah-snap/2bk7pp40_1_1
List of Datafiles in backup set 50
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 Full 319475138 19-FEB-09 /ora/oracle/oradata/blah/system01.dbf
2 Full 319475138 19-FEB-09 /ora/oracle/oradata/blah/sysaux01.dbf
3 Full 319475138 19-FEB-09 /ora/oracle/oradata/blah/undotbs01.dbf
4 Full 319475138 19-FEB-09 /ora/oracle/oradata/blah/users01.dbf
5 Full 319475138 19-FEB-09 /ora/oracle/oradata/blah/UAM_IDX_01.dbf
6 Full 319475138 19-FEB-09 /ora/oracle/oradata/blah/UAM_DAT_01.dbf


So I tried this:

run
{
set until scn 319475138;
recover database;
}

And I get:

Starting recover at 23-FEB-09
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 02/23/2009 16:10:46
RMAN-06556: datafile 1 must be restored from backup older than SCN 319475138

Since I have archive logs that have older SCN's I've tried older SCN's as well.

What am I doing wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2009
Added on Feb 23 2009
5 comments
677 views