exp emis/emis@orcl file=d:\backup\oracle\oracle%date:~0,10%.dmp owner=emis log=d:\backup\oracle\oracle%date:~0,10%.log

connect target emis/emis
run{
DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-2'; //删除两天前的归档日志
crosscheck archivelog all;//检查
delete expired archivelog all;//删除过期日志
}

04-30 09:56