RE: scripting the deletion of archivelogs

  • From: "Sweetser, Joe" <JSweetser@xxxxxxxx>
  • To: <oracledbaquestions@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 29 Jul 2008 07:30:17 -0600

Look at "delete noprompt..." in the rman docs.
 
hth,
-joe

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Dba DBA
Sent: Tuesday, July 29, 2008 7:10 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: scripting the deletion of archivelogs


When I delete my archive logs, it lists the ones to be deleted than
wants me to confirm that I want to delete them. How would I write a
shell script to log into rman and delete my archive logs to get around
this prompt ?


Confidentiality Note: This message contains information that may be 
confidential and/or privileged. If you are not the intended recipient, you 
should not use, copy, disclose, distribute or take any action based on this 
message. If you have received this message in error, please advise the sender 
immediately by reply email and delete this message. Although ICAT Holdings, 
LLC, Underwriters at Lloyd's, Syndicate 4242, scans e-mail and attachments for 
viruses, it does not guarantee that either are virus-free and accepts no 
liability for any damage sustained as a result of viruses.  Thank you.

Other related posts: