I have valid L0 rman backup. Now i want to restore this backup in another server. I do not have any archive log files. I am okay to open the database with resetlog mode.
In this case, do i need to recover the database after the restore?
Here is the steps i followed for restore.
1. startup nomount
2. restore control file
3. mount database
4. restore database
5. open database.
I get the below error when i open the database.
- Code: Select all
SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/data01/oradata/devdb12/system01.dbf'
Again, i tried to recover as below and opened the database and it is successful.
- Code: Select all
RMAN> run
{
allocate channel t1 device type disk format '/data01/stage/%U';
allocate channel t2 device type disk format '/data01/stage/%U';
recover database;
release channel t1;
release channel t2;
}
2> 3> 4> 5> 6> 7> 8>
allocated channel: t1
channel t1: SID=125 device type=DISK
allocated channel: t2
channel t2: SID=9 device type=DISK
Starting recover at 12/28/2012 13:33:23
starting media recovery
unable to find archived log
archived log thread=1 sequence=56
released channel: t1
released channel: t2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 12/28/2012 13:33:24
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 56 and starting SCN of 1035286
RMAN> exit
Recovery Manager complete.
devdb13*devdb12_dg-/ora/app/oracle/admin
>dba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 28 13:36:22 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter database open resetlogs;
Database altered.
SQL>
My question is, why should oracle expect to recover the database when there is no archive log file?
What does oracle do on RECOVER part when there is no archive log file?
I am confused here. Please help me.