SlideShare a Scribd company logo
1. check current scn# of standby 
STANDBY>select current_scn from v$database; 
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

More Related Content

DOCX
Creating a physical standby database 11g on windows
PPTX
Data Migration in Database
PPT
2011 384 hackworth_ppt
PPT
Summaryreactorunitstatus120411 110412123744-phpapp02
DOCX
Cman
PDF
Step by Step Restore rman to different host
PDF
Rman workshop short
PDF
Maa wp-10g-racprimaryracphysicalsta-131940
Creating a physical standby database 11g on windows
Data Migration in Database
2011 384 hackworth_ppt
Summaryreactorunitstatus120411 110412123744-phpapp02
Cman
Step by Step Restore rman to different host
Rman workshop short
Maa wp-10g-racprimaryracphysicalsta-131940

Similar to Refresh standby using rman backup (20)

DOCX
Oracle 12c far sync standby instance
PDF
Dataguard Switchover Best Practices using DGMGRL (Dataguard Broker Command Line)
DOCX
Physical_Standby_Database_R12.2.4
DOCX
Rman cloning when both directory and db name are same.
DOCX
Rman cloning when both directory and db name are same.
PDF
oracle upgradation
DOCX
12c database migration from ASM storage to NON-ASM storage
DOC
Controlfilemanagement
PPTX
Data Guard New Features
DOC
Oracle data guard configuration in 12c
PDF
How to create a non managed standby database
PDF
Oracle Database Backup Cloud Service
PDF
Oracle backup
PDF
èż˜ćŽŸOracle侭真漞的cache recovery
PDF
FIXING BLOCK CORRUPTION (RMAN) on 11G
 
PPT
Oracle Data Guard
PDF
Rman Reporting Opertions - LIST & REPORT
PDF
Collaborate 2012 - RMAN Eliminate the mystery
PDF
Oracle applications 11i hot backup cloning with rapid clone
PDF
Performance Tuning Tool01-Statspack
Oracle 12c far sync standby instance
Dataguard Switchover Best Practices using DGMGRL (Dataguard Broker Command Line)
Physical_Standby_Database_R12.2.4
Rman cloning when both directory and db name are same.
Rman cloning when both directory and db name are same.
oracle upgradation
12c database migration from ASM storage to NON-ASM storage
Controlfilemanagement
Data Guard New Features
Oracle data guard configuration in 12c
How to create a non managed standby database
Oracle Database Backup Cloud Service
Oracle backup
èż˜ćŽŸOracle侭真漞的cache recovery
FIXING BLOCK CORRUPTION (RMAN) on 11G
 
Oracle Data Guard
Rman Reporting Opertions - LIST & REPORT
Collaborate 2012 - RMAN Eliminate the mystery
Oracle applications 11i hot backup cloning with rapid clone
Performance Tuning Tool01-Statspack
Ad

More from Mohsen B (15)

PDF
Problem details
PDF
Using sap-netweaver-with-dbim-2594359
DOC
Restore procedure
DOCX
Backup script
DOCX
Using a physical standby database for read write
PDF
Automate DG Best Practices
DOC
Rac
PDF
Cygwin installation
DOC
Huge pages
DOC
Simple network troubleshooting
PDF
Rhel asmlib to_udev
DOCX
Finding root blocker in oracle database
PDF
Asm 11g r1_bestpractices_7_301
PDF
security-checklist-database
PPTX
Oracle & sql server comparison 2
Problem details
Using sap-netweaver-with-dbim-2594359
Restore procedure
Backup script
Using a physical standby database for read write
Automate DG Best Practices
Rac
Cygwin installation
Huge pages
Simple network troubleshooting
Rhel asmlib to_udev
Finding root blocker in oracle database
Asm 11g r1_bestpractices_7_301
security-checklist-database
Oracle & sql server comparison 2
Ad

Recently uploaded (20)

PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
top salesforce developer skills in 2025.pdf
PDF
System and Network Administration Chapter 2
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
history of c programming in notes for students .pptx
PPTX
Essential Infomation Tech presentation.pptx
PDF
medical staffing services at VALiNTRY
PPTX
ai tools demonstartion for schools and inter college
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
PTS Company Brochure 2025 (1).pdf.......
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
top salesforce developer skills in 2025.pdf
System and Network Administration Chapter 2
Softaken Excel to vCard Converter Software.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Odoo POS Development Services by CandidRoot Solutions
Wondershare Filmora 15 Crack With Activation Key [2025
How Creative Agencies Leverage Project Management Software.pdf
history of c programming in notes for students .pptx
Essential Infomation Tech presentation.pptx
medical staffing services at VALiNTRY
ai tools demonstartion for schools and inter college
How to Migrate SBCGlobal Email to Yahoo Easily
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PTS Company Brochure 2025 (1).pdf.......

Refresh standby using rman backup

  • 1. 1. check current scn# of standby STANDBY>select current_scn from v$database; 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