2. On Primary Create a standby control file: PRIMARY>ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/home/oracle/standby_control.ctl';
3. copy the standby control file From Primary to standby host scp /home/oracle/standby_control.ctl node2:/home/oracle/standby_control.ctl
4. Take incremental backup on primary starting from scn# of standby database run{ CONFIGURE COMPRESSION ALGORITHM 'MEDIUM' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; ALLOCATE CHANNEL L0C1 DEVICE TYPE DISK FORMAT '/corebackup/rman_backup/standby/FORSTBY%u'; ALLOCATE CHANNEL L0C2 DEVICE TYPE DISK FORMAT '/corebackup/rman_backup/standby/FORSTBY%u'; ALLOCATE CHANNEL L0C3 DEVICE TYPE DISK FORMAT '/corebackup/rman_backup/standby/FORSTBY%u'; backup incremental from scn 650695180550 as compressed backupset database tag='FOR_STANDBY';}
5. Move the backup pieces to the standby host 6. Catalog the Incremental Backup Files at the Standby Database 7. Find out names of current control files col value for a50 col name for a15 select name, value from v$parameter where upper(name)= 'CONTROL_FILES'; 8. Catalog new backup pieces to database 9. Apply the Incremental Backup to the Standby Database STANDBY> recover managed standby database cancel; RMAN> RECOVER DATABASE from tag for_standby NOREDO;
10. Shutdown the standby database and rename the original control file of the standby database: 11. Restore the standby control file we just copied from the primary 12. Startup the Standby database with the new controlfile: 13. If the name of datafiles is different in guard: a. Set standby_file_management=manual b. Create a rename script for datafiles and execute it in the guard c. Set standby_file_management=auto 14. Start Media Recover on Data Guard