rman 刪除日誌的幾有用的命令

season0891發表於2014-03-07
http://www.itpub.net/thread-729956-1-1.html
backup format '/backup/dmp/dbf_%d_%T_%s_%p' ARCHIVELOG UNTIL TIME '(SYSDATE - 4)' ;
delete archivelog until time '(SYSDATE - 4)';




run{
allocate channel c1 type disk format '/backup/dmp/%T_%U.bak' maxpiecesize = 2000M;
backup ARCHIVELOG UNTIL TIME '(SYSDATE - 4)' ;
delete archivelog until time '(SYSDATE - 4)';
release channel c1;
}


run{
delete archivelog until time '(SYSDATE - 10)';
}

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/90618/viewspace-1103063/,如需轉載,請註明出處,否則將追究法律責任。

相關文章