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.

shutdown immedi<strong>at</strong>e ;<br />

startup force dba ;<br />

shutdown immedi<strong>at</strong>e ;<br />

startup mount ;<br />

run {<br />

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

'ENV=(DSMO_AVG_SIZE=256)';<br />

alloc<strong>at</strong>e channel t2 type 'sbt_tape' parms<br />

'ENV=(DSMO_AVG_SIZE=256)';<br />

set maxcorrupt for d<strong>at</strong>afile 1 to 0 ;<br />

backup<br />

full<br />

filesperset 3<br />

form<strong>at</strong> '%d/%t/%s/%p'<br />

tag 'paris offline 20010316.1111'<br />

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

release channel t1 ;<br />

release channel t2 ;<br />

alter d<strong>at</strong>abase open ;<br />

}<br />

Figure 51. Whole consistent backup, commandfile backup_offline_beach<br />

To guarantee th<strong>at</strong> a d<strong>at</strong>abase’s d<strong>at</strong>afiles are consistent, shut down the<br />

d<strong>at</strong>abase with the NORMAL, IMMEDIATE or TRANSACTIONAL options<br />

before making a whole d<strong>at</strong>abase backup. To bring up the d<strong>at</strong>abase in the<br />

desired st<strong>at</strong>e., we chose the sequence:<br />

shutdown immedi<strong>at</strong>e;<br />

startup force dba;<br />

shutdown immedi<strong>at</strong>e;<br />

startup mount;<br />

Note: Unlike TDP for <strong>Oracle</strong> for UNIX, we do not need to specify as many<br />

channel definitions. The only one th<strong>at</strong> is required is DSMO_AVG_SIZE, the<br />

rest are left as defaults.<br />

Channel definitions:<br />

DSMO_AVG_SIZE is a size estim<strong>at</strong>e used by the TSM server to reserve<br />

space on TSM storage<br />

The alloc<strong>at</strong>ion of multiple channels is only possible when TSM node’s<br />

MAXNUMMP (maximum mount points allowed) is gre<strong>at</strong>er than or equal to<br />

the number of channels.<br />

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