RMAN Recovery from Non-Essential Datafile loss, # SYSAUX
RMAN> list failure
2> ;
using target database control file instead of recovery catalog
Database Role: PRIMARY
List of Database Failures
=========================
Failure ID Priority Status Time Detected Summary
---------- -------- --------- ------------- -------
362 HIGH OPEN 23-JAN-16 One or more non-system datafiles are missing
RMAN> list failure detail;
Database Role: PRIMARY
List of Database Failures
=========================
Failure ID Priority Status Time Detected Summary
---------- -------- --------- ------------- -------
362 HIGH OPEN 23-JAN-16 One or more non-system datafiles are missing
Impact: See impact for individual child failures
List of child failures for parent failure ID 362
Failure ID Priority Status Time Detected Summary
---------- -------- --------- ------------- -------
985 HIGH OPEN 23-JAN-16 Datafile 3: '/u01/app/oracle/oradata/cdb2/sysaux01.dbf' is missing
Impact: Some objects in tablespace SYSAUX might be unavailable
RMAN> advise failure;
Database Role: PRIMARY
List of Database Failures
=========================
Failure ID Priority Status Time Detected Summary
---------- -------- --------- ------------- -------
362 HIGH OPEN 23-JAN-16 One or more non-system datafiles are missing
Impact: See impact for individual child failures
List of child failures for parent failure ID 362
Failure ID Priority Status Time Detected Summary
---------- -------- --------- ------------- -------
985 HIGH OPEN 23-JAN-16 Datafile 3: '/u01/app/oracle/oradata/cdb2/sysaux01.dbf' is missing
Impact: Some objects in tablespace SYSAUX might be unavailable
analyzing automatic repair options; this may take some time
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=365 device type=DISK
analyzing automatic repair options complete
Mandatory Manual Actions
========================
no manual actions available
Optional Manual Actions
=======================
1. If file /u01/app/oracle/oradata/cdb2/sysaux01.dbf was unintentionally renamed or moved, restore it
Automated Repair Options
========================
Option Repair Description
------ ------------------
1 Restore and recover datafile 3
Strategy: The repair includes complete media recovery with no data loss
Repair script: /u01/app/oracle/diag/rdbms/cdb2/cdb2/hm/reco_3475313480.hm
RMAN> repair failure preview;
Strategy: The repair includes complete media recovery with no data loss
Repair script: /u01/app/oracle/diag/rdbms/cdb2/cdb2/hm/reco_3475313480.hm
contents of repair script:
# restore and recover datafile
sql 'alter database datafile 3 offline';
restore ( datafile 3 );
recover datafile 3;
sql 'alter database datafile 3 online';
RMAN> repair failure;
Strategy: The repair includes complete media recovery with no data loss
Repair script: /u01/app/oracle/diag/rdbms/cdb2/cdb2/hm/reco_3475313480.hm
contents of repair script:
# restore and recover datafile
sql 'alter database datafile 3 offline';
restore ( datafile 3 );
recover datafile 3;
sql 'alter database datafile 3 online';
Do you really want to execute the above repair (enter YES or NO)? YES
...........................
sql statement: alter database datafile 3 online
repair failure complete
RMAN> exit
No comments:
Post a Comment