#This script will backup all the archivelog files generated in a specified
#period and then delete them from disk .
{
allocate channel c1 type disk;
backup archivelog
format '/u5/ORACLE/reco/backup/bkp_arch.%s.%p';
from time to_date('23-JUL-2001 00:00:00', 'DD-MON-RRRR HH24:MI:SS')
until time to_date('23-JUL-2001 23:59:00' ,'DD-MON-RRRR HH24:MI:SS')
delete input;
}