今天复制数据库test到orcl
在orcl库中pfile里面设置目录。
db_file_name_convert=('D:\oracle\product\10.2.0\oradata\test','D:\oracle\product\10.2.0\oradata\orcl')
log_file_name_convert=('D:\oracle\product\10.2.0\oradata\test','D:\oracle\product\10.2.0\oradata\orcl')
但orcl实际用的是spfile结果导致05001错误
RMAN> duplicate target database to ‘ORCL‘;
Starting Duplicate Db at 14-DEC-07
using channel ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/14/2007 16:00:04
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary filename /export/home/oracle/orcl/orcl/users01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary filename /export/home/oracle/orcl/orcl/sysaux01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary filename /export/home/oracle/orcl/orcl/undotbs01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary filename /export/home/oracle/orcl/orcl/system01.dbf conflicts with a file used by the target database
---------------------------------------------------------------------------------------------2008-07-29
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10524816/viewspace-412216/ ,如需转载,请注明出处,否则将追究法律责任。