Traditional Database Backup Techniques

All production Oracle databases require data protection. Oracle provides RMAN as its preferred backup solution. Most enterprises have adopted one or more of the database backup strategies described in this section:

Weekly Full and Daily Incremental Backups

One popular approach, shown in Figure 1, is to use RMAN to take a weekly full backup, and then daily incremental backups. To improve incremental backup performance, Oracle recommends enabling block change tracking. These backups occur when activity on the database is lowest.

Figure 1: Full and Incremental Backups to Tape

Description of the illustration amagd_vm_021.png

An advantage of this technique is that backup windows, which affect the production server, are relatively brief on the days when incremental backups occur. A disadvantage is that when the database is continuously active, as when serving multiple global time zones, no easily accommodating backup window is available.

One solution is to set up Oracle Data Guard, and then back up the standby database, thereby removing the backup load from the production server. However, protecting all databases with Oracle Data Guard is often impractical.

Incremental Backups and RECOVER COPY

The RMAN technique shown in Figure 2 makes daily incremental backups, and then uses the RECOVER COPY command to merge the incremental changes into the full database copy. In this way, the database copy on disk is “rolled forward” every day.

Figure 2: RECOVER COPY on Disk, and Backup to Tape

Description of the illustration amagd_vm_022.png

This technique has the following advantages:

Some disadvantages are as follows:

Full Backups to a Third-Party Deduplicating Appliance

As an alternative to RMAN incremental backups and tape drives, some customers use third-party deduplicating appliances to process backup streams. Figure 3 depicts three databases writing to a centralized third-party appliance.

Figure 3: Third-Party Deduplicating Appliance

Description of the illustration amagd_vm_023.png

This technique has the following advantages:

Some disadvantages are as follows:

Third-Party Storage Snapshots

A third-party storage snapshot is a set of pointers to storage blocks (not Oracle blocks) that existed when the snapshot was created. The virtual copies reside on the same storage array as the original data. Figure 4 depicts a copy-on-write snapshot, which is a type of third-party snapshot. After a snapshot is taken, when the first change to a storage block occurs, the array copies the before-image block to a new location on disk (C) and writes the new block (C') to the original location.

Figure 4: Third-Party Copy-on-Write Snapshot

Description of the illustration amagd_vm_024.png

This technique has the following advantages:

Some disadvantages are as follows:

See Also: Oracle Database Backup and Recovery User’s Guide to learn more about using Storage Snapshot Optimization to take third-party snapshots of the database