Home » Oracle » 1z0-063 » What must you do to make the database operational in 0USERVER1?
Your database is running on the host OUSERVER. You back up your database regularly using RMAN and the backups are cataloged in a recovery catalog.
Fortesting purposes, you want to replicate your database to another host, 0USERVER1, with the same directory structure. So, you copy the backups to the new host.
What must you do to make the database operational in 0USERVER1?
A. Restore the control file from the backup by using the CATALOG option, restore the data files by using the SET NEWNAME command, and recover the data files.
B. Restore the data files by using the NOCATALOG option and use the SET NEWNAME command to change the location.
C. Restore the control file from the backup by using the NOCATALOG option, and then restore and recover the data files.
D. Restore the data files from the backup by using the recovery catalog, use the SWITCH command to change the location, and recover the data files.
Correct Answer: A
Explanation/Reference:
Explanation:
Catalog any backups not recorded in the repository with the CATALOG command.
Restore the data files to their original locations. If volume names have changed, then run SET NEWNAME commands before the restore operation and perform a switch after the restore operation to update the control file with the new locations for the data files, as shown in the following example.
Note: One way to name duplicate data files is to use the SET NEWNAME command before executing the DUPLICATE command. RMAN supports the following commands, listed in order of precedence:
1.SET NEWNAME FOR DATAFILE and SET NEWNAME FOR TEMPFILE
2.SET NEWNAME FOR TABLESPACE
3.SET NEWNAME FOR DATABASE
References: https://docs.oracle.com/database/121/BRADV/rcmadvre.htm
Download Printable PDF. VALID exam to help you PASS.
|
|