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.

From the RMAN prompt, we need to alloc<strong>at</strong>e a channel before deleting the<br />

backup piece (this is described in the <strong>Oracle</strong> product document<strong>at</strong>ion in<br />

gre<strong>at</strong>er detail).<br />

RMAN> alloc<strong>at</strong>e channel for delete type 'sbt_tape';<br />

RMAN-03022: compiling command: alloc<strong>at</strong>e<br />

RMAN-03023: executing command: alloc<strong>at</strong>e<br />

RMAN-08030: alloc<strong>at</strong>ed channel: delete_02<br />

RMAN-08500: channel delete_02: sid=15 devtype=SBT_TAPE<br />

RMAN-08526: channel delete_02: MMS Version 2.1.10.0<br />

Next, we change the backup piece to be deleted. The name of the backup<br />

piece is obtained from the list backup; command:<br />

RMAN> change backuppiece '0ecl33t7_1_1' delete;<br />

RMAN-03022: compiling command: change<br />

RMAN-03023: executing command: DELETE<br />

RMAN-08073: deleted backup piece<br />

RMAN-08517: backup piece handle=0ecl33t7_1_1 recid=9 stamp=424775594<br />

At this point, the backup piece 0ecl33t7_1_1 has been deleted from RMAN.<br />

Since we were running in NOCATALOG mode, the inform<strong>at</strong>ion about this<br />

backup in the control file has been deleted. On the TSM server, the backup<br />

d<strong>at</strong>a object corresponding to this RMAN backup piece has been marked<br />

inactive. It will be deleted during the next expir<strong>at</strong>ion processing on the TSM<br />

server. The select command th<strong>at</strong> was used to view this backup d<strong>at</strong>a object<br />

can be used to see th<strong>at</strong> the STATE has change from ACTIVE_VERSION to<br />

INACTIVE_VERSION.<br />

NODE_NAME: JAMAICA_ORACLE<br />

FILESPACE_NAME: \adsmorc<br />

STATE: INACTIVE_VERSION<br />

TYPE: FILE<br />

HL_NAME: \orcnt\<br />

LL_NAME: 0ecl33t7_1_1<br />

OBJECT_ID: 44937<br />

BACKUP_DATE: 2001-03-19 09:15:00.000000<br />

DEACTIVATE_DATE:<br />

OWNER:<br />

CLASS_NAME: DEFAULT<br />

140 <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!