怎么做增量备份? 困扰我好久了啊。

解决方案 »

  1.   

    http://www.hackhome.com/InfoView/Article_164002.html
      

  2.   

    一级增量备份脚本
    run {
       allocate channel t1 type disk;
       allocate channel t2 type disk;
       allocate channel t3 type disk;
       allocate channel t4 type disk;
       allocate channel t5 type disk;
       backup incremental level 1 as compressed backupset filesperset 5 database;
     sql 'alter system switch logfile';
        backup filesperset 4
        (archivelog until time 'SYSDATE' delete input);
    release channel t1;
       release channel t2;
       release channel t3;
       release channel t4;
       release channel t5;