Big talk RAC Media recovery---Only backup file recovery

Source: Internet
Author: User

Scenario : Oracle 10g RAC; Data files, control files, online logs, and parameter files are archived to ASM using ASM. After a full backup, delete all control files, online logs, data files, and finally take advantage of the backup for incomplete recovery.

1. Simulating a disaster scenario (slightly)

2. Recovery steps

1. Boot the database to the Nomount state Sql>startup Nomount2. Use Rman to recover a control file from an automated backup, and execute a backup set of the Rman>restore controfile from ' storage files ' in an instance; 3. Mount database rman>sql ' ALTER DATABASE Mount '; 4. Recover data files Rman>restore database; Note: Using OMF to maintain files is that files are renamed, and synchronizes to the control file 5. Archive log records in control files Sql>select name from V$archived_log; 6. Archive Log on disk export Oracle_sid=+asm1asmcmd-pasmcmd[+arch1/wxxrtest/]>ls ..... 7. Re-enlist the archive log not recorded in the control file to the control file see Rman>catalog archivelog ' +arch1/wxxrtest/1_69_660747390.dbf '; 8. Review the archive log records in the control file Sql>select thread#,sequence#,name,next_change# from v$archived_log;9. Perform incomplete recovery sql>recover Database using Backup Controfile until cancal;10. To open the databases in resetlogs mode rman>sql ' ALTER DATABASE open resetlogs '; 11. Open another instance $srvctl Start database-d wxxrtest

Organized from "Big talk RAC" Zhang Xiaoming p301-p306

Big talk RAC Media recovery---Only backup file recovery

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.