LinuxRAC环境下的备份脚本
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; }
创新互联是专业的铁西网站建设公司,铁西接单;提供做网站、网站制作,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行铁西网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!
PS:来源《Oracle高性能自动化运维》
名称栏目:LinuxRAC环境下的备份脚本
分享地址:http://scyanting.com/article/iicgjc.html