copy datafile 与copy datafilecopy的区别:[@more@]
RMAN> copy
2> datafile '/u01/app/oracle/oradata/dbwdn/users01.dbf' to '/tmp/users01.dbf';
Starting backup at 02-DEC-2012 13:57:54
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
input datafile fno=00004 name=/u01/app/oracle/oradata/dbwdn/users01.dbf
output filename=/tmp/users01.dbf tag=TAG20121202T135754 recid=12 stamp=800978275
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 02-DEC-2012 13:57:55
RMAN> copy
2> datafilecopy '/u01/app/oracle/oradata/dbwdn/users01.dbf' to '/tmp/users01.dbf';
Starting backup at 02-DEC-2012 13:58:20
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 12/02/2012 13:58:20
RMAN-20230: datafile copy not found in the recovery catalog
RMAN-06015: error while looking up datafile copy name: /u01/app/oracle/oradata/dbwdn/users01.dbf
RMAN>
显而易见:copy datafilecopy需要在具有recovery catalog数据库的情况下使用.copy datafile可以把备份信息写入控制文件中.