-
RMAN Question
Hi experts
i have a question on incomplete recovery with RMAN, with UNTIL TIME CLAUSE.
I have this situation:
T1............. T2 ......T? ..............T3........................... T4......... T5
___________ __________________ ___________________ ________
................BKP.........................BKP...........................BKP
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.
-
Code:
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.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
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.
-
Originally Posted by PAVB
Code:
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
-
Do this...
Code:
select created, resetlogs_time from v$database;
Is your set until time '14-MAR-2008 12:11:00' happening before any of these?
If this is the case you have to use RESET DATABASE TO INCARNATION command
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|