刪除歸檔日誌檔案

yhj20041128001發表於2011-05-27

  0 23 * * 6 find /archivelog -mtime +7 -exec rm {} \;

0 23 * *  6  sh  /Data/script/tool/deletear.sh  >>/Data/script/deletear.log 2>&1;
  .bash_profile

rman target / @'/Data/script/rman/deletear.sql' log /Data/script/rman/rmanlog/eletear;

DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-7';

 

 

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

相關文章