A.Restoring the control file from the backup by using the NOCATALOG option to restore, and recovering
the data files
B.Restoring the data files by using the NOCATALOG option and using the SET NEWNAME command to
change the location
C.Restoring the server parameter file from the backup by using the recovery catalog to restore, and
recovering the data files
D.Restoring the data files from the backup by using the recovery catalog to recover the files, and using
the SWITCH command to change the location.
Answer:A
Explanation/Reference:
你的生产数据库,它的功能在shost1主机。你在支持生产
通过使用恢复管理器数据库(RMAN)和恢复目录。你想复制
生产数据库到另外的主机,shost2,测试新的应用程序。
在您确保目标数据库的备份在新主机上是可访问的,您必须
要恢复和恢复测试环境的备份吗?
A 利用nocatalog选项恢复恢复从备份的控制文件,并恢复数据文件
A 正确,B错误在于题目要求的是 what must you do ,而如果目录结构相同的话,不需要set newname
For each data file on the destination host that is restored to a different path than it had on the source host,
use a SET NEWNAME command to specify the new path on the destination host. If the file systems on
the destination system are set up to have the same paths as the source host, then do not use SET
NEWNAME for those files restored to the same path as on the source host.
CD 因为catelog的问题,所以必须用nocatelog确保shost2使用的是control file而不是catelog。
原文地址:http://blog.csdn.net/xuejiayue1105/article/details/48627635