You must use a physical standby database file to recover a data file on a primary database in a Data Guard
environment.
Which three of these steps must be performed on the primary database after the file has been backed up using
RMAN on the physical standby database?
A.
Connect to the primary database as the AUXILIARY.
B.
Catalog the data file copy for RMAN to use on the primary database for restore.
C.
Back up the data file as copy on the standby host to a location on the standby host.
D.
Switch to the data file copy using the RMAN SWITCH command.
E.
Back up the data file as copy on the standby host to a location on the primary host.
F.
Connect to the primary database as the TARGET.
Explanation:
You can use files on a standby database to recover a lost datafile.
Start RMAN and take the following steps to copy the datafiles from the standby to the primary:
1. Connect to the standby database as the target database
2. (A) Connect to the primary database as the auxiliary database
3. Back up the datafile on the standby host across the network to a location on the primary host. (This step, E,
is assumed to have been taken already).
4. Exit the RMAN client
5. Start RMAN and connect to the primary database as target, and to the recovery catalog
6. (B, D) Use the CATALOG DATAFILECOPY command to catalog this datafile copy so that RMAN can use it.
CATALOG DATAFILECOPY ‘/disk9/df2copy.dbf’;
Then use the SWITCH DATAFILE command to switch the datafile copy so that /disk9/df2copy.dbf becomes
the current datafile:
RUN {
SET NEWNAME FOR DATAFILE 2 TO ‘/disk9/df2copy.dbf’;
SWITCH DATAFILE 2;
}
https://docs.oracle.com/cd/E11882_01/server.112/e41134/rman.htm#SBYDB4870
C is incorrect.
Here the question is after the file has been backed up using RMAN on the physical standby database which means A and E are already done.
Correct Ans: F, B, D
Have you cleared the exam?
yes
Explanation:
Based on the question these 2 steps are already done
1. connect to standby as target and connect to primary as auxiliary (A)
2. backup as copy datafile…. to a location on the primary (E)
Remaining Steps are:
1. connect to primary as target (F)
2. catalog the file copy (B)
3. set newname & switch (D)
https://docs.oracle.com/cd/E11882_01/server.112/e41134/rman.htm#SBYDB4870
https://community.oracle.com/thread/3920276?start=15&tstart=0
i think we have to connect to the primary database as auxiliary and on standby database as target.what do you think?
Correct answer is A,B,E
you can check the steps from this page:
https://iarsov.com/oracle/data-guard/recovery-from-loss-of-datafiles-on-primary-database-using-standby-datafiles/
Please note the question “after the file has been backed up using RMAN on the physical standby database”, which means all steps requires at standby has been completed.
B,D,F