RMAN recovery to DR [message #359445] |
Sun, 16 November 2008 05:56 |
bbasra
Messages: 2 Registered: November 2008
|
Junior Member |
|
|
Hi,
I have taken over this task but stuck and could do with some help.
Any changes made in the live database are not there when I recover on the DR.
So i cleared down the FRA Except for the ArchiveLogs folder.
It seems like the recovery is not looking for the latest backup. Log file is attached.
Any ideas?
The script run is:
recovery.bat
del /f/q C:\Oracle\ora10g\oradata\DIM10\*.* > c:\oracleRMAN\restore-backup.log
oradim -startup -sid dim10 -starttype srvc
copy E:\oraclerecoveryarea\DIM10\controlfile\ctrl2.ora C:\Oracle\ora10g\oradata\DIM10\ctl1pcms.ora >> c:\oracleRMAN\restore-backup.log
rman target sys/change_on_install CMDFILE=c:\oracleRMAN\restore-backup.script >> c:\oracleRMAN\restore-backup.log
rman target sys/change_on_install CMDFILE=c:\oracleRMAN\open-after-restore.script >> c:\oracleRMAN\restore-backup.log
restore-backup.script
set dbid=2318069170
run {
startup mount
restore database;
recover database until scn 9999999;
}
open-after-restore.script
run
{
alter database open resetlogs;
}
[Updated on: Sun, 16 November 2008 06:01] Report message to a moderator
|
|
|
|
|
Re: RMAN recovery to DR [message #359458 is a reply to message #359453] |
Sun, 16 November 2008 12:16 |
|
ebrian
Messages: 2794 Registered: April 2006
|
Senior Member |
|
|
You should try restoring your controlfile from the backup with RMAN.
Otherwise, you should issue CROSSCHECK BACKUP after you MOUNT the database.
|
|
|