黄伟-RAC生产库现场调整本分策略实战

主要内容

RMAN备份,还分为差异增量备份和累积增量备份.

  • 案例背景介绍
  • RMAN备份工具
  • 如何使用RMAN做自动备份
  • RAC库如何做RMAN增量备份
  • 现场调整某RAC生产库备份策略
report schema;
list backup summary;
list copy;

run{
        allocate channel c1 device type dis;
        allocate channel c2 device type dis;
        allocate channel c3 device type dis;
        allocate channel c4 device type dis;
        sql 'alter system switch logfile';
        crosscheck archivelog all;
        delete noprompt expired archivelog all;
        delete noprompt archivelog until time 'sysdate-30';
        crosscheck backup;
        delete noprompt obsolete;
        delete noprompt expired backup;
        backup incremental leve1 database format '+flash/rman_backup/df_%U.bak' tag=INC_1;
        release channel c1;
        release channel c2;
        release channel c3;
        release channel c4;
}
1级增量备份脚本

 

posted @ 2013-06-27 11:56  ArcerZhang  阅读(303)  评论(0编辑  收藏  举报