run{ crosscheck archivelog all; allocate channel c1 device type disk connect sys/oracle@node1 maxpiecessize = 200000m; allocate channel c2 device type disk connect sys/oracle@node2 maxpiecessize = 200000m; sql 'alter system archive log current thread 1 current'; sql 'alter system archive log current thread 2 current'; backup incremental level 0 tag 'inc_0' database format '/oracle/archivelog/arch2/ora_rman/peppdb_%p_%s_%t.bak' filepserset 10 include current controlfile plus archivelog format '/oracle/archive/arch2/ora_rman/peppdb_arc%p_%s_%t.bak' filepserset 10 delete all input; delete obsolete; release channel c1; release channel c2; }
PS:来源《Oracle高性能自动化运维》
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。