今天尝试了用adg 的duplicate方式制作从库,主库上不需要制作备份拷贝到从库上恢复,只需在主库上直接使用命令执行duplicate,在线传输制作
Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 04/22/2017 11:46:17
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/22/2017 11:46:09
ORA-17628: Oracle error 19505 returned by remote Oracle server
上面的原因是我在备库上少创建了对应的目录。
输出日志如下;
Starting Duplicate Db at 22-APR-17
using target database control file instead of recovery cat