RMAN> DUPLICATE TARGET DATABASE TO orcl
... RMAN-06026: some targets not found - aborting restore RMAN-06023: no backup or copy of datafile 5 found to restore RMAN-06023: no backup or copy of datafile 4 found to restore RMAN-06023: no backup or copy of datafile 3 found to restore RMAN-06023: no backup or copy of datafile 2 found to restore RMAN-06023: no backup or copy of datafile 1 found to restore 没备份控制文件。
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate Db command at 01/06/2009 17:01:41 RMAN-05501: aborting duplication of target database RMAN-05001: auxiliary filename E:\oracle\product\10.2.0\oradata\orcl\USERS01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary filename E:\oracle\product\10.2.0\oradata\orcl\TOOLS01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary filename E:\oracle\product\10.2.0\oradata\orcl\INDX01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary filename E:\oracle\product\10.2.0\oradata\orcl\UNDOTBS01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary filename E:\oracle\product\10.2.0\oradata\orcl\SYSTEM01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary filename E:\oracle\product\10.2.0\oradata\orcl\REDO03.LOG conflicts with a file used by the target database RMAN-05001: auxiliary filename E:\oracle\product\10.2.0\oradata\orcl\REDO02.LOG conflicts with a file used by the target database RMAN-05001: auxiliary filename E:\oracle\product\10.2.0\oradata\orcl\REDO01.LOG conflicts with a file used by the target database在初始化参数里没设置db_file_name_convert和log_file_name_convert这两个参数。设置如下:
*.db_file_name_convert=('e:\oracle\product\10.2.0\oradata\orcl','d:\oracle\product\10.2.0\oradata\orcl') *.log_file_name_convert=('e:\oracle\product\10.2.0\oradata\orcl','d:\oracle\product\10.2.0\oradata\orcl')