24.12.2012 Views

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. delete expired backup;<br />

RMAN> delete expired backup;<br />

RMAN-03022: compiling command: delete expired<br />

RMAN-03023: executing command: delete expired<br />

RMAN-08073: deleted backup piece<br />

RMAN-08517: backup piece handle=STARTER/426340296/12/1 recid=12 stamp=426340296<br />

RMAN-08073: deleted backup piece<br />

RMAN-03023: executing command: partial resync<br />

RMAN-08003: starting partial resync of recovery c<strong>at</strong>alog<br />

RMAN-08005: partial resync complete<br />

The RMAN c<strong>at</strong>alog now m<strong>at</strong>ches wh<strong>at</strong> is on the TSM server.<br />

B.5.2 TSM object exists without a corresponding RMAN reference<br />

This type of situ<strong>at</strong>ion is much harder to overcome. You should only undertake<br />

the following procedures if you are completely knowledgeable, since this will<br />

remove valid backups as well as inconsistent backups if not done correctly.<br />

If a situ<strong>at</strong>ion is encountered where there are RMAN backups th<strong>at</strong> are not<br />

marked inactive on the TSM server, there are two ways to remove these<br />

unwanted active backups.<br />

Use the unsupported API sample program to delete the individual backup<br />

objects.<br />

On the TSM server, rename/delete the filespace (containing all the<br />

backups).<br />

B.5.2.1 Using the API sample program to delete objects<br />

There is a program called Sample th<strong>at</strong> can be used to access the individual<br />

API objects on TSM. The Sample program is not supported, but development<br />

has included it in an uncompiled st<strong>at</strong>e as part of the API install<strong>at</strong>ion.<br />

Appendix E of the manual Tivoli Storage Manager: Using the Applic<strong>at</strong>ion<br />

Program Interface, SH26-4123, has some references to setting up and<br />

running this applic<strong>at</strong>ion. This manual can be downloaded from the Web site:<br />

http://www.tivoli.com/support/storage_mgt/adsm/pubs/admanual.htm<br />

This Sample applic<strong>at</strong>ion has the capability to work with individual API backup<br />

objects and can delete a specific backup object.<br />

Appendix B. Troubleshooting 207

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!