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.

Figure 33. First steps to test a RMAN backup<br />

If you do not know wh<strong>at</strong> your SID is, go to the SERVICES administr<strong>at</strong>ive tool<br />

and look for a service name like <strong>Oracle</strong>Service, where the <br />

is your SID. You may have multiple services with the prefix <strong>Oracle</strong>Service<br />

corresponding to multiple d<strong>at</strong>abases. Make sure th<strong>at</strong> this service is running,<br />

or else RMAN will fail when connecting to th<strong>at</strong> d<strong>at</strong>abase.<br />

The user INTERNAL is an <strong>Oracle</strong> default user th<strong>at</strong> every d<strong>at</strong>abase has. If you<br />

have not manually changed the password, the password will be set to the<br />

default of change_on_install.<br />

Once you have opened a command prompt, set the ORACLE_SID<br />

environment variable, start RMAN with the noc<strong>at</strong>alog option, and connect to<br />

the d<strong>at</strong>abase you wish to back up. You are now ready to enter the commands<br />

to perform the backup. The following steps are for taking a full backup of a<br />

d<strong>at</strong>abase th<strong>at</strong> is in NOARCHIVELOG mode.<br />

1. Command: shutdown immedi<strong>at</strong>e<br />

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

RMAN-06405: d<strong>at</strong>abase closed<br />

RMAN-06404: d<strong>at</strong>abase dismounted<br />

RMAN-06402: <strong>Oracle</strong> instance shut down<br />

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