connect target / configure device type disk parallelism 3; CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 5G; run { crosscheck archivelog all; backup archivelog all not backed up 1 times format '/orabackup/arch/%d_%s_%p_%e_%t'; } run { delete noprompt archivelog until time = 'sysdate-2' backed up 1 times to device type disk; } exit;