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: Stephen T Murphy <SMurphy_at_uamail.albany.edu>
Date: Wed, 12 Oct 2005 17:21:43 -0400
Message-ID: <0E53E25A408CD847A76100C1D5D347970D9A7A@UAEXCH.univ.albany.edu>


Within RMAN, just use DELETE NOPROMPT OBSOLETE;

--
*-----------------------------------------------------------------------
----* 
  Stephen T. Murphy  
  Manager, Database and Technical Support 
  ITS - University Applications Development 
  MSC-100 
  The University at Albany, S.U.N.Y. 
  Albany,  New York    12222            
  Phone: (518) 437-4523     Fax: (518) 437-4540   
  MailTo: SMurphy_at_UAMail.Albany.EDU     AIM: SMurphy199 
 


-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Phil Jones
Sent: Wednesday, October 12, 2005 9:48 AM
To: joe_dba_at_hotmail.com
Cc: oracle-l_at_freelists.org
Subject: Re: rman question


You can use "expect" to do this.

Have a look at the man page.

Cheers,

Phil

On 12/10/05, Joe Smith <joe_dba_at_hotmail.com> wrote:

> 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 -- http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 12 2005 - 16:23:58 CDT

Original text of this message

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