RE: scripting the deletion of archivelogs

  • From: "Ken Naim" <kennaim@xxxxxxxxx>
  • To: <oracledbaquestions@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 29 Jul 2008 09:36:21 -0400

Rman has a command "noprompt" that can be added a command to prevent it from
confirming as in "delete noprompt obsolete;"





From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Dba DBA
Sent: Tuesday, July 29, 2008 9: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 ?

Other related posts: