Linux RAC环境下的备份脚本
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux RAC环境下的备份脚本相关的知识,希望对你有一定的参考价值。
run{ crosscheck archivelog all; allocate channel c1 device type disk connect sys/[email protected] maxpiecessize = 200000m; allocate channel c2 device type disk connect sys/[email protected] 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/arch1/ora_rman/peppdb_%p_%s_%t.bak' filepserset 10 include current controlfile plus archivelog format '/oracle/archive/arch1/ora_rman/peppdb_arc%p_%s_%t.bak' filepserset 10 delete all input; delete obsolete; release channel c1; release channel c2; }
PS:来源《Oracle高性能自动化运维》
以上是关于Linux RAC环境下的备份脚本的主要内容,如果未能解决你的问题,请参考以下文章