千家信息网

1级增量备份脚本(示例)

发表于:2025-02-01 作者:千家信息网编辑
千家信息网最后更新 2025年02月01日,create script bak_1{ allocate channel c1 type disk; allocate channel c2 type disk;
千家信息网最后更新 2025年02月01日1级增量备份脚本(示例)
create script bak_1{        allocate channel c1 type disk;        allocate channel c2 type disk;        allocate channel c3 type disk;        allocate channel c4 type disk;        sql 'alter system archievlog current';        backup incremental level 1 tag 'inc_1'         database format '/oracle/ora_bak/bak_1%U.bak'         include current controlfile        plus archivelog        format '/oracle/ora_bak/bak_arc%U.bak';        release channel c1;        release channel c2;        release channel c3;        release channel c4;}



PS:来源《Oracle高性能自动化运维》

0