Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: rman question
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.
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 12 2005 - 09:08:55 CDT
![]() |
![]() |