Entering content frameFunction documentation RMAN Incremental Backups Without a Backup Library Locate the document in its SAP Library structure

Use

If you do not have a backup library, you can develop a strategy involving an incremental backup of your Oracle database by performing:

  1. A full backup at level 0, which you can perform in one of the following ways:
  1. An incremental backup at level 1 to local or remote disk, for which you always have to use RMAN, then copy to tape using BRBACKUP

For more information, see RMAN Backup Strategies.

Features

Full Backup at Level 0 to Local Disk with RMAN

You can make a full backup with RMAN and without a backup library only to local disk. You then use BRBACKUP to copy the disk backup to tape. This is a two-phase backup, that is, first a backup to disk, then a copy to tape.

It has the following advantages:

It has the disadvantage that you need to copy the full backup to tape, which is extra work.

Full Backup at Level 0 with BRBACKUP or an External Tool, Without RMAN

You can make the full backup at level 0 without RMAN. After you have made the full backup – using BRBACKUP (with cpio or dd) or BACKINT and an external tool – BRBACKUP calls RMAN to catalog the backup as a level-0 backup.

This has the following advantages:

It has the following disadvantages:

Incremental Backup at Level 1 to Disk with RMAN

You can make incremental backups at level 1 with RMAN and without a backup library, but only to local disk. There is no one-to-one copy of the database files. Instead, save sets are created, which means you can only recover the save sets of an incremental backup with RMAN. For more information, see RMAN Save-Set Grouping. In a second phase, you copy the incremental backup to tape with BRBACKUP. This is a two-phase backup, that is, first a disk backup, then a copy to tape.

Example

Here is an example of how you can perform the two stages in an incremental backup without backup library: a full backup at level 0 and an incremental backup at level 1.

Stage 1: Full Database Backup at Level 0 Without Backup Library

This graphic is explained in the accompanying text

As shown in the graphic, the full backup consists of the following phases:

  1. Phase 1
  2. BRBACKUP calls cpio, dd, or BACKINT to back up the database. cpio or dd read the data from the disk and write it to tape. If you use the BACKINT interface, the database file names are transferred to external backup software that then backs up the files to the backup medium.

  3. Phase 2

BRBACKUP calls RMAN to automatically catalog the backup as a full backup (level 0). This means it can be used as a reference for later incremental backups.

Stage 2: Incremental Backup at Level 1 Without Backup Library

Since you cannot make an incremental backup directly to tape without RMAN, this stage is a two-phase backup (that is, a backup phase followed by a copy phase):

This graphic is explained in the accompanying text

As shown in the graphic, the full backup consists of the following phases:

  1. Phase 1
  2. BRBACKUP calls RMAN, which internally activates an Oracle server process to read the data from the Oracle database and save it to disk in a save set.

  3. Phase 2

BRBACKUP calls cpio, dd, or BACKINT to copy the incremental save set from disk to the backup medium.

For more information, see RMAN Backup Strategies and Profile Parameters and BRBACKUP Command Options.

Leaving content frame