Table of Contents Previous Next


2 Overview : 2.1 Block-Level Incremental Backup : 2.1.6 Creating a Backup Chain

A backup chain is the set of backups consisting of a full backup and all of its successive incremental backups. Tracing back on the parent backups of all incremental backups in the chain eventually leads back to that single, full backup.
It is possible to have a “multi-forked” backup chain, which is two or more successive lines of incremental backups, all of which begin with the same, full backup. Thus, within the chain there is a backup that serves as the parent of more than one incremental backup.
The allow_incremental_backups parameter is set to enabled in the BART configuration file to permit incremental backups on the listed database server:
First, a full backup is taken.
The following output of the SHOW-BACKUPS subcommand lists the backup chain, which are backups full_1, incr_1-a, incr_1-b, and incr_1-c.
Note that for the full backup full_1, the BACKUP PARENT field contains none. For each incremental backup, the BACKUP PARENT field contains the backup identifier or name of its parent backup.
A second backup chain is created in the same manner with the BACKUP subcommand. The following shows the addition of the resulting, second backup chain consisting of full backup full_2 and incremental backups incr_2-a and incr_2-b.
The following additional incremental backups starting with incr_1-b-1, which designates incr_1-b as the parent, results in the forking from that backup into a second line of backups in the chain consisting of full_1, incr_1-a, incr_1-b, incr_1-b-1, incr_1-b-2, and incr_1-b-3 as shown in the following list:
Restoring an incremental backup is done with the RESTORE subcommand and its options in the same manner as for restoring a full backup. Specify the backup identifier or backup name of the incremental backup to be restored as shown by the following:
Restoring incremental backup incr_1-b as shown by the preceding example results in the restoration of full backup full_1, then incremental backups incr_1-a and finally, incr_1-b.
See Section 5.4.8 for information on the RESTORE subcommand.

2 Overview : 2.1 Block-Level Incremental Backup : 2.1.6 Creating a Backup Chain

Table of Contents Previous Next