Which three of these steps must be performed on the pri…

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?

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



Leave a Reply 8

Your email address will not be published. Required fields are marked *


Chunn

Chunn

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

vishal

vishal

Have you cleared the exam?

Ahmed Fouad

Ahmed Fouad

i think we have to connect to the primary database as auxiliary and on standby database as target.what do you think?