RE: rman question

  • From: "Reidy, Ron" <Ron.Reidy@xxxxxxxxxxxxxxxxxx>
  • To: <joe_dba@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 12 Oct 2005 08:59:30 -0600

Try "delete obsolete force" or "delete obsolete noprompt" - I forget
which one is correct.

--
Ron Reidt
Lead DBA
Array BioPharma, Inc.

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Joe Smith
Sent: Wednesday, October 12, 2005 7:35 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: rman question


Is there any way to force rman to delete files within a rman script?

My shell script does a

rman <<EOF
connect target
report obsolete;
EOF

But, as you know to do a delete obsolete a "YES" needs to be passed to
rman. 
  Has anybody ever done this within a rman script?

thanks.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
//www.freelists.org/webpage/oracle-l

This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.

--
//www.freelists.org/webpage/oracle-l

Other related posts: