ocp-v13-683

  1. Your production database it functional on the SHOST1 host. You are backing up the production
    database by using Recovery Manager (RMAN) with the recovery catalog. You want to replicate the
    production database to anther host , SHOST2, for testing new applications.
    After you ensured that the backups of the target database are accessible on the new host, what must you
    do to restore and recover the backup for the test environment?

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。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值