Re: Catalog RMAN backups on Tape?

From: Robert Freeman <robertgfreeman_at_yahoo.com>
Date: Mon, 25 Jan 2010 11:36:46 -0800 (PST)
Message-ID: <665317.32192.qm_at_web113205.mail.gq1.yahoo.com>



The catalog command does not support SBT devices (at least in 11g and 10g and I think going back forever). So you can't re-catalog the backup pieces. Also there is no guarantee that the tapes won't be marked as deleted on the catalog of the tape system, so you might have double trouble there.

If it's a BIG deal, you could get an older control file from before the crosscheck to use for restore purposes. It should still have the records in it for the backups. Hopefully the pieces are still there and not marked as deleted on the silo catalog.

If you know the backup set pieces on the tape devices are intact, you can write PL/SQL code to access them. This becomes a bit complex (I used to have to do it all the time in the Oracle 8 days for various reasons). Metalink used to have articles on how to do this.

Automating the delete after the crosscheck is dangerous when you are using SBT...... :)

 Robert G. Freeman
Oracle ACE
Ask me about on-site Oracle Training! RMAN, DBA, Tuning, you name it! Author:
Oracle Database 11g RMAN Backup and Recovery (Oracle Press) - ON ITS WAY SOON! OCP: Oracle Database 11g Administrator Certified Professional Study Guide (Sybex) Oracle Database 11g New Features (Oracle Press) Oracle Database 10g New Features (Oracle Press) Other various titles
Blog: http://robertgfreeman.blogspot.com Check out my new blog series on installing Oracle Database 11gR2 on Windows using VMWare!



From: Thomas Roach <troach_at_gmail.com> To: Oracle Discussion List <oracle-l_at_freelists.org> Sent: Mon, January 25, 2010 11:34:46 AM
Subject: Catalog RMAN backups on Tape?

Hi,

We had an issue with one of our scripts where it did a crosscheck and because our tapes weren't in the cabinet, they got marked and removed. I know how to catalog backups that are on disk, but is anyone aware of the steps for doing tapes?

Thanks,

Tom

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jan 25 2010 - 13:36:46 CST

Original text of this message