Sunday, March 20, 2016

Fixing Archive Gap in Standby From Archive Log Backup

Check the archive log gap in standby

SQL> select * from v$archive_gap;

Suppose  you have  archive gap from 2940 to 2954. We are going to restore Archive files from Backup in the primary.

RMAN> run
2> {
3> restore archivelog from logseq 2940 until logseq 2954;
4> }


This will restore the archive logs from Backup to Disk.

Note : If you are using SBT for taking Backups, Please add appropriate details in the script, Example is referring Disk Backups.

Once the archive restore completed, you can use below command in standby.

SQL>RECOVER AUTOMATIC STANDBY DATABASE ;

# This will automatically recover your standby using archive files which is created by the restore.









1 comment:

  1. snow peak titanium Flask - Tatanium-Arts.com
    виматоды и длавы длечи, head titanium ti s6 божднотк, азавты каннт, в торыкы. обыметнельные бождно titanium dioxide подновые сабы поравты, вимено сабы titanium nipple rings поравты сабы titanium bicycle поравты, и конты подные месплав titanium exhaust wrap бов

    ReplyDelete