Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

delete backup archive

864103Jan 14 2013 — edited Jan 18 2013
Hi all ,

oracle 11g.2 ASM RAC under RHEL 5

we use HP DATA Protector to make a backed to TAPE

but now i need to remove the backup from tape :

the below script not work :
 run {
2>  allocate channel 'dev_0' type 'sbt_tape'
3> parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=MEDI,OB2BARLIST=Mediation DB Whole Online - Archive Delete)';
4> DELETE ARCHIVELOG ALL COMPLETED BEFORE "sysdate-3";
5> }
i use the first 3 line to backed up but no i need to delete it ???


the below is a result of delete command :
allocated channel: dev_0
channel dev_0: SID=256 instance=MEDI2 device type=SBT_TAPE
channel dev_0: Data Protector A.06.11/243

released channel: dev_0
thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2013
Added on Jan 14 2013
10 comments
443 views