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.

RMAN> run{<br />

2> alloc<strong>at</strong>e channel t1 type 'sbt_tape';<br />

3> backup (d<strong>at</strong>abase);<br />

4> }<br />

...<br />

RMAN-08503: piece handle=0ncm82dr_1_1 comment=API Version 1.1,MMS Version 2.1.10<br />

.0<br />

RMAN-08525: backup set complete, elapsed time: 00:02:48<br />

RMAN-08031: released channel: t1<br />

After taking the backup we ran the SQL query select * from backups where<br />

node_name=’JAMAICA_ORACLE’. The entry in the quotes is case sensitive and<br />

must be upper case. The output of this command tells us th<strong>at</strong> the backup<br />

object was sent by a client program (TDP <strong>Oracle</strong>) th<strong>at</strong> authentic<strong>at</strong>ed with the<br />

TSM server as node JAMAICA_ORACLE. The client program did not specify<br />

which management class to use with this object so the TSM server bound the<br />

default management class for the node to this backup object. TDP for <strong>Oracle</strong><br />

for Windows uses \adsmorc as the FILESPACE_NAME when sending the<br />

object to the TSM server. The HL_NAME or high level qualifier is \orcnt\. For<br />

the LL_NAME or low level qualifier, TSM uses the piece name th<strong>at</strong> is<br />

autom<strong>at</strong>ically gener<strong>at</strong>ed by RMAN. The LL_NAME can be controlled by using<br />

the form<strong>at</strong> option in the RMAN script.<br />

tsm: BRAZIL>select * from backups where node_name='JAMAICA_ORACLE'<br />

ANR2963W This SQL query may produce a very large result table, or may require a<br />

significant amount of time to compute.<br />

Do you wish to proceed? (Yes (Y)/No (N)) y<br />

NODE_NAME: JAMAICA_ORACLE<br />

FILESPACE_NAME: \adsmorc<br />

STATE: ACTIVE_VERSION<br />

TYPE: FILE<br />

HL_NAME: \orcnt\<br />

LL_NAME: 0ncm82dr_1_1<br />

OBJECT_ID: 94130<br />

BACKUP_DATE: 2001-04-02 08:36:30.000000<br />

DEACTIVATE_DATE:<br />

OWNER:<br />

CLASS_NAME: DEFAULT<br />

4.5.2.2 Viewing the description of an archive object<br />

TDP for <strong>Oracle</strong> does not store any d<strong>at</strong>abase objects as archive objects on the<br />

TSM server. You could use the TSM backup-archive client archive fe<strong>at</strong>ure to<br />

perform an oper<strong>at</strong>ing system or file level backup of the <strong>Oracle</strong> d<strong>at</strong>abase files.<br />

The archive fe<strong>at</strong>ure does not perform versioning, but keeps all objects under<br />

an archive description.<br />

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