Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Scenario is loss of control files – AUTOBACKUP is enabled RMAN> list failure; using target database control file instead of recovery catalog List of Database Failures ========================= Failure ID Priority Status Time Detected Summary ———- ——– ——— ————- ——5652 CRITICAL OPEN 18-JUN-12 Control file /u01/app/oracle/flash_recovery_area/sqlfun/control02.ctl is missing 5649 CRITICAL OPEN 18-JUN-12 Control file /u01/app/oracle/oradata/sqlfun/control01.ctl is missing RMAN> advise failure; List of Database Failures ========================= Failure ID Priority Status Time Detected Summary ———- ——– ——— ————- ——5304 CRITICAL OPEN 18-JUN-12 Control file /u01/app/oracle/flash_recovery_area/sqlfun/control02.ctl is missing analyzing automatic repair options; this may take some time allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=133 device type=DISK analyzing automatic repair options complete Mandatory Manual Actions ======================== no manual actions available Optional Manual Actions ======================= no manual actions available Automated Repair Options ======================== Option Repair Description —— —————— 1 Use a multiplexed copy to restore control file /u01/app/oracle/flash_recovery_area/sqlfun/control02.ctl Strategy: The repair includes complete media recovery with no data loss Repair script: /u01/app/oracle/diag/rdbms/sqlfun/sqlfun/hm/reco_632546057.hm RMAN> repair failure preview; Strategy: The repair includes complete media recovery with no data loss Repair script: /u01/app/oracle/diag/rdbms/sqlfun/sqlfun/hm/reco_632546057.hm contents of repair script: # restore control file using multiplexed copy restore controlfile from ‘/u01/app/oracle/oradata/sqlfun/control01.ctl’; sql ‘alter database mount’; RMAN> repair failure; Strategy: The repair includes complete media recovery with no data loss Repair script: /u01/app/oracle/diag/rdbms/sqlfun/sqlfun/hm/reco_632546057.hm contents of repair script: # restore control file using multiplexed copy restore controlfile from ‘/u01/app/oracle/oradata/sqlfun/control01.ctl’; sql ‘alter database mount’; Do you really want to execute the above repair (enter YES or NO)? YES executing repair script Starting restore at 18-JUN-12 using channel ORA_DISK_1 channel ORA_DISK_1: copied control file copy output file name=/u01/app/oracle/oradata/sqlfun/control01.ctl output file name=/u01/app/oracle/flash_recovery_area/sqlfun/control02.ctl Finished restore at 18-JUN-12 sql statement: alter database mount released channel: ORA_DISK_1 repair failure complete Do you want to open the database (enter YES or NO)? YES database opened RMAN> RMAN> list failure; no failures found that match specification