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.

6.1.1.1 RMAN command<br />

The RMAN command is the d<strong>at</strong>abase administr<strong>at</strong>or's interface to RMAN.<br />

It invokes a Command Line Interface th<strong>at</strong> provides a scripting language<br />

(oper<strong>at</strong>ing system independent) for performing backup and recovery<br />

oper<strong>at</strong>ions. RMAN can be executed either interactively, where a command<br />

prompt is displayed and additional RMAN commands entered, or in b<strong>at</strong>ch<br />

mode, where an RMAN command file is executed.<br />

6.1.1.2 Target d<strong>at</strong>abase<br />

The target d<strong>at</strong>abase is the <strong>Oracle</strong>8 d<strong>at</strong>abase instance on which RMAN<br />

executes specified backup, restore, and recovery actions. When the RMAN<br />

command is executed, it connects to the target d<strong>at</strong>abase. The target<br />

d<strong>at</strong>abase is specified by using RMAN parameters.<br />

6.1.1.3 Communic<strong>at</strong>ion channel<br />

RMAN can perform backup and restore functions to either local disk or to<br />

external media management products such as an TSM server through the<br />

libobk.a library provided by TDP for <strong>Oracle</strong> for UNIX. These I/O oper<strong>at</strong>ions<br />

are performed over a communic<strong>at</strong>ion channel th<strong>at</strong> defines the device to be<br />

used for the oper<strong>at</strong>ion. The channel is used by RMAN to send or receive<br />

backup d<strong>at</strong>a to and from the I/O device.<br />

For backup and restore oper<strong>at</strong>ions, you must alloc<strong>at</strong>e a channel before the<br />

oper<strong>at</strong>ion is performed. A channel corresponds to a single device. With the<br />

TDP for <strong>Oracle</strong> for UNIX, a channel is a single session to an TSM server<br />

using the SBT API. Multiple channels can be alloc<strong>at</strong>ed. RMAN provides a<br />

multiplexing fe<strong>at</strong>ure th<strong>at</strong> enables parallel d<strong>at</strong>a streams to be sent over<br />

multiple alloc<strong>at</strong>ed channels to maximize backup and recovery performance.<br />

6.1.1.4 Recovery c<strong>at</strong>alog<br />

The recovery c<strong>at</strong>alog is the repository for inform<strong>at</strong>ion about backup objects<br />

cre<strong>at</strong>ed by RMAN. It is a <strong>Oracle</strong>8 d<strong>at</strong>abase instance, separ<strong>at</strong>e from the target<br />

d<strong>at</strong>abases, and can contain inform<strong>at</strong>ion for multiple target d<strong>at</strong>abases. The<br />

d<strong>at</strong>a stored in the recovery c<strong>at</strong>alog comprises structural inform<strong>at</strong>ion about the<br />

target d<strong>at</strong>abases to back up and restore. The recovery c<strong>at</strong>alog contains<br />

inform<strong>at</strong>ion about:<br />

Physical schema of a target d<strong>at</strong>abase<br />

You must register the target d<strong>at</strong>abase <strong>at</strong> the recovery c<strong>at</strong>alog to define the<br />

physical schema of the target d<strong>at</strong>abase. RMAN needs to know about any<br />

structural change of the target d<strong>at</strong>abase, and obtains this inform<strong>at</strong>ion from<br />

the target d<strong>at</strong>abase control file.<br />

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