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.

Control file<br />

Archive log<br />

If the control files are lost, they must be restored before other restore<br />

oper<strong>at</strong>ions can be performed. Only after restoring the control files can the<br />

target d<strong>at</strong>abase be mounted and the other restore oper<strong>at</strong>ions started.<br />

A restore oper<strong>at</strong>ion is typically followed by a recovery oper<strong>at</strong>ion.<br />

12.2 Recovery Oper<strong>at</strong>ion<br />

Recovery is a process whereby a restored file is made available, either to the<br />

most current st<strong>at</strong>e or to a specific point in time.<br />

Once the d<strong>at</strong>a files are restored, they have to be made consistent with each<br />

other. The recover command is used to perform media recovery and to apply<br />

incremental backups. During the recovery process, RMAN autom<strong>at</strong>ically<br />

restores the archived redo logs as required.<br />

If RMAN has a choice between restoring incremental backup sets or applying<br />

redo logs, it always uses the incremental backups. If overlapping levels of<br />

incremental backup are available, the lowest level of incremental backup, the<br />

one covering the longest period of time, is chosen autom<strong>at</strong>ically.<br />

The following objects can be recovered:<br />

Individual d<strong>at</strong>a files<br />

One or more d<strong>at</strong>a files can be recovered. The target d<strong>at</strong>abase must be<br />

started and mounted. If the target d<strong>at</strong>abase is open, the d<strong>at</strong>a file must be<br />

offline.<br />

Tablespaces<br />

All d<strong>at</strong>a files in a tablespace can be recovered or a tablespace can be<br />

recovered to a previous point in time. The target d<strong>at</strong>abase must be started<br />

and mounted. If the target d<strong>at</strong>abase is open, the tablespace must be<br />

offline.<br />

The entire d<strong>at</strong>abase<br />

The entire d<strong>at</strong>abase can be recovered under the following circumstances:<br />

- A media failure has damaged the entire d<strong>at</strong>abase.<br />

- The entire d<strong>at</strong>abase must be recovered to a previous point in time.<br />

- The control files have been lost.<br />

For d<strong>at</strong>abase recovery, the d<strong>at</strong>abase must be started but not open.<br />

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