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.

We cre<strong>at</strong>ed an RMAN command file including the checkpoint SCN from<br />

this listing:<br />

T<br />

In this example:<br />

- set until scn = 264582 specifies a SCN for the subsequent restore and<br />

recovery commands.<br />

- restore controlfile causes RMAN to restore the controlfiles to all<br />

control file destin<strong>at</strong>ions. The control files are not restored by the<br />

restore d<strong>at</strong>abase command.<br />

- restore d<strong>at</strong>abase restores all d<strong>at</strong>afiles belonging to the d<strong>at</strong>abase.<br />

Existing d<strong>at</strong>afiles are overwritten.<br />

- alter d<strong>at</strong>abase open resetlogs is the only way to open the d<strong>at</strong>abase<br />

again, because the d<strong>at</strong>a in the redo logs cannot be used any longer.<br />

- After a successful d<strong>at</strong>abase point in time recovery, a backup of the<br />

d<strong>at</strong>abase is required.<br />

8.3.4 Duplic<strong>at</strong>e d<strong>at</strong>abase<br />

The RMAN duplic<strong>at</strong>e command allows you to use your target d<strong>at</strong>abase<br />

backups to cre<strong>at</strong>e a test d<strong>at</strong>abase while still retaining your original d<strong>at</strong>abase.<br />

The command takes backup sets or image copies of your target d<strong>at</strong>abase<br />

files and gener<strong>at</strong>es a new d<strong>at</strong>abase. A duplic<strong>at</strong>e d<strong>at</strong>abase is especially useful<br />

if your production d<strong>at</strong>abase must be up and running 24 hours per day, 7 days<br />

a week.<br />

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