01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 12 BACKUPS 261<br />

<strong>Oracle</strong>-Managed Backups vs. User- Managed Backups<br />

Backups created using Recovery Manager (RMAN) are called <strong>Oracle</strong>- managed backups<br />

and backups created by other methods are called user- managed backups. For example,<br />

Network Appliance provides an advanced technology that can be used <strong>to</strong> create snapshots<br />

of the largest databases in seconds or minutes by recording only the addresses of<br />

the blocks in the database instead of the data contained in the blocks—a copy of a block<br />

is only made if the data in one of these blocks is subsequently changed.<br />

Advantages of <strong>Oracle</strong>- Managed Backups<br />

Backups created using Recovery Manager have many advantages:<br />

<br />

database can be backed up with the simple words .<br />

<br />

his<strong>to</strong>ry data is needed during recovery operations, but it can be queried by the<br />

database administra<strong>to</strong>r at any time; a typical use is <strong>to</strong> verify that the database has<br />

been backed up.<br />

not available anywhere else. Examples<br />

are incremental backups, detection of corrupted blocks, and recovery of single<br />

blocks.<br />

Advantages of User- Managed Backups<br />

Some types of user- managed backups offer great advantages. For example, snapshot<br />

technology has the advantage of lightning speed of both backup and recovery. Making<br />

a backup of a file is lightning fast because it only requires that the addresses of blocks be<br />

recorded, not the data contained in the blocks—recovery of a file is also lightning fast<br />

because it only requires that one list of block addresses be switched with another. The<br />

best of both worlds is achieved when snapshots are registered in the Recovery Manager<br />

reposi<strong>to</strong>ry—this allows Recovery Manager <strong>to</strong> use the snapshots for database recovery.<br />

Practical Demonstration: Physical Backups<br />

Here is a practical demonstration of the use of RMAN <strong>to</strong> create a backup copy of the<br />

database. As you will see, this can be accomplished with a few short commands. First we<br />

give an appropriate value—it controls the format in which dates are displayed.<br />

When we invoke RMAN, it displays version information and gives us a command<br />

prompt:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!