Use these following steps to
recover if you lost a datafile on a standby database :
1.
Initially Stop the Redo Apply using the ALTER DATABASE command:
SQL> ALTER DATABASE RECOVER MANAGED
STANDBY DATABASE CANCEL;
2. Now , Start RMAN and connect both to the
standby and recovery catalog using:
RMAN TARGET / CATALOG rcat/passwd@RCAT
3. Issue the following commands to restore and
recover datafiles on the standby database:
RMAN> RESTORE DATAFILE 5;
RMAN> RECOVER DATAFILE 5;
4. Now, Restart the SQL Apply :
SQL> ALTER DATABASE RECOVER
MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
See Also :
No comments:
Post a Comment