Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: rman question

RE: rman question

From: Ruth Gramolini <rgramolini_at_tax.state.vt.us>
Date: Wed, 12 Oct 2005 10:03:01 -0400
Message-ID: <003101c5cf35$a8a83760$bb59000a@vttaxnet.tax.state.vt.us>


If you use OEM to create your script, and check the delete obsolete box it will actually do it without asking for the reply. I use that and it does show that obsolete files were deleted.

HTH,
Ruth

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Joe Smith Sent: Wednesday, October 12, 2005 9:35 AM To: oracle-l_at_freelists.org
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/

--

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

--

http://www.freelists.org/webpage/oracle-l Received on Wed Oct 12 2005 - 09:08:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US