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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

copy mgmtclass API_DOMAIN API_POLICY API_MGMTCLASS DSKPOOL1<br />

upd<strong>at</strong>e copygroup API_DOMAIN API_POLICY DSKPOOL1 dest=API_DISK<br />

activ<strong>at</strong>e policy API_DOMAIN API_POLICYT<br />

In the tdpo.opt file, we added TDPO_MGMT_CLASS2 DSKPOOL1.<br />

The RMAN cmdfile looks like this:<br />

Because of the duplex option, the form<strong>at</strong> parameter has to include the %c<br />

string, which specifies the copy number of the backup piece within a set of<br />

duplexed backup pieces.<br />

As shown next, we listed the objects in TSM and RMAN and deleted them<br />

with the following steps:<br />

Established an RMAN session and alloc<strong>at</strong>ed a maintenance channel.<br />

Started a TSM administr<strong>at</strong>or session.<br />

Under one backup set key, there are two different backup pieces because<br />

of the set duplic<strong>at</strong>e=2 option. The form<strong>at</strong> parameter .copy%c cre<strong>at</strong>ed<br />

names ending with .copy1 and .copy2.<br />

In the TSM administr<strong>at</strong>or session, we listed the first to TSM objects with a<br />

SQL select command.<br />

The next step was the change backupset 2773 delete, which marks the two<br />

objects BERLIN/backuppiece27.backupset1.copy1 and<br />

BERLIN/backuppiece27.backupset1.copy2 in TSM as inactive.<br />

In the TSM administr<strong>at</strong>or session, a expire inventory command was<br />

invoked.<br />

A new SQL select in the TSM session returned no rows.<br />

Here is the RMAN list backup and change delete backup:<br />

218 <strong>Backing</strong> <strong>Up</strong> <strong>Oracle</strong> using Tivoli Storage Management

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

Saved successfully!

Ooh no, something went wrong!