Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

Restore online backup from Primary to DR server

$
0
0

Hi,

 

I'm on Oracle 10.2 Physical Data guard and restoring an online backup from Primary server to DR server. The online backup was taken on 30.11.2015 21:00:00 and finished at 01.12.2015 01:23:16. The first redo log when backup started is 60588 and the last redo log when the backup ends is 60596 according to the backup log. However it is asking beyond 60596 when doing recovery:

 

SQL> recover standby database using backup controlfile until cancel;

ORA-00279: change 952123702 generated at 12/01/2015 04:50:25 needed for thread

1

ORA-00289: suggestion : L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60598_0681431456.001

ORA-00280: change 952123702 for thread 1 is in sequence #60598

 

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}

 

 

ORA-00279: change 952134239 generated at 12/01/2015 05:50:32 needed for thread

1

ORA-00289: suggestion : L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60599_0681431456.001

ORA-00280: change 952134239 for thread 1 is in sequence #60599

ORA-00278: log file 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60598_0681431456.001' no

longer needed for this recovery

 

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}

 

 

ORA-00279: change 952145796 generated at 12/01/2015 06:51:06 needed for thread

1

ORA-00289: suggestion : L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60600_0681431456.001

ORA-00280: change 952145796 for thread 1 is in sequence #60600

ORA-00278: log file 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60599_0681431456.001' no

longer needed for this recovery

 

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}

 

 

ORA-00279: change 952155617 generated at 12/01/2015 07:51:51 needed for thread

1

ORA-00289: suggestion : L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60601_0681431456.001

ORA-00280: change 952155617 for thread 1 is in sequence #60601

ORA-00278: log file 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60600_0681431456.001' no

longer needed for this recovery

 

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}

 

 

ORA-00308: cannot open archived log

'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60601_0681431456.001'

ORA-27041: unable to open file

OSD-04002: unable to open file

O/S-Error: (OS 2) The system cannot find the file specified.

 

ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below

ORA-01152: file 1 was not restored from a sufficiently old backup

ORA-01110: data file 1: 'Z:\ORACLE\A30\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'

 

SQL> ALTER DATABASE ACTIVATE STANDBY DATABASE;

ALTER DATABASE ACTIVATE STANDBY DATABASE

*

ERROR at line 1:

ORA-01152: file 1 was not restored from a sufficiently old backup

ORA-01110: data file 1: 'Z:\ORACLE\A30\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'

 

 

I noted after I apply 60598 onwards, it says


ORA-00278: log file 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60598_0681431456.001' no longer needed for this recovery


Does it mean 60598 is actually not required for recovery?

Any idea why it is asking for log after 60596?

How do I check what is the last redo log required to complete the recovery?

V$RECOVERY_LOG shows nothing.

 

Thank you.


Viewing all articles
Browse latest Browse all 1892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>