T1 is initial time, T5 is now.
T2, T3, T4 r the time in which i make backup (BKP)
I'd like to restore my DB, at T? time. It's between T2 and T3.
I make correct syntax but i receive this error:
run {
shutdown immediate;
startup mount;
sql "alter session set nls_date_format = ''DD-MON-YYYY HH24:MI:SS''";
set until time '14-MAR-2008 12:11:00';
restore database;
recover database;
alter database open resetlogs;
}
Error:
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20207: UNTIL TIME is before RESETLOGS time
It's possibile this kind of recovery? or i can only recover the last version of backups?
PS:Sorry for my poor english
Last edited by master.jimmy; 03-18-2008 at 09:46 AM.
oerr RMAN 20207
20207, 1, "UNTIL TIME or RECOVERY WINDOW is before RESETLOGS time"
// *Cause: UNTIL TIME and RECOVERY WINDOW cannot be less than the database
// creation time or RESETLOGS time.
// *Action: Check the UNTIL TIME or RECOVERY WINDOW. If the database
// needs to be restored to an old incarnation, use the
// RESET DATABASE TO INCARNATION command.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
oerr RMAN 20207
20207, 1, "UNTIL TIME or RECOVERY WINDOW is before RESETLOGS time"
// *Cause: UNTIL TIME and RECOVERY WINDOW cannot be less than the database
// creation time or RESETLOGS time.
// *Action: Check the UNTIL TIME or RECOVERY WINDOW. If the database
// needs to be restored to an old incarnation, use the
// RESET DATABASE TO INCARNATION command.
ehm... could u explain me better please? I have Oracle 9
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Bookmarks