Database Backup and Recovery (MOSC)

MOSC Banner

Rman question

edited Dec 10, 2010 6:37PM in Database Backup and Recovery (MOSC) 9 commentsAnswered ✓
Hi.
I have an Rman script that backup only the archives.
I want to know how to delete inside the script because of this message:

122448  1    15007   X 22-NOV-10 E:\ORADATA\OEM10G\ARCHIVE\ARC15007_0604077610.001
	
	
122449 1 15008 X 22-NOV-10 E:\ORADATA\OEM10G\ARCHIVE\ARC15008_0604077610.001

Do you really want to delete the above objects (enter YES or NO)?
Error occurred getting response - assuming NO response

 The script is the following:
RMAN> print script backup_archives;

printing stored script: backup_archives
 {ALLOCATE CHANNEL dev1 DEVICE TYPE DISK FORMAT 'c:\arc_temp\AL_%d_%U_%p';
crosscheck archivelog all;
delete expired archivelog all;
backup archivelog all skip inaccessible delete input;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center