Home » Oracle » 1z0-066 » 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?
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?
(Choose three.)
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.
Correct Answer: ABD
Explanation/Reference:
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; }
References: https://docs.oracle.com/cd/E11882_01/server.112/e41134/rman.htm#SBYDB4870
Download Printable PDF. VALID exam to help you PASS.
|
|
The question says “… AFTER the file has been backed up using RMAN on the physical standby database”. Then you have to execute the steps:
5. Connect primary as target (answer F)
6.a. Catalog (answer B)
6.b. Switch (answer D)