rman auxiliary /
run{
duplicate target database to orcl
backup location '/backup'
nofilenamecheck
spfile
set memory_max_target='2048000000'
set memory_target='2048000000'
set
audit_file_dest='/u01/app/oracle/admin/orcl/adump'
set
db_create_file_dest='';
}
这样即可,实际估计最后几行都不要,因为路径正常默认都是一样的
如下这样应该也可以对不对?
run{
duplicate target database to orcl
backup location '/backup'
nofilenamecheck
spfile
set memory_max_target='2048000000'
set memory_target='2048000000';
}