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博客 ” ,链接:https://blog.itpub.net/90618/viewspace-1103063/
,如需转载,请注明出处,否则将追究法律责任。