Backing up incrementally

Incremental backups are run by using the cbbackup command-line tool. The updated cbbackup tool adds a new option to support incremental backups. The tool still supports the existing options.

The general format of the cbbackup command is:

cbbackup [options] source backup_dir 

The following table describes the new backup mode option:

Option Description
-m MODE, --mode=MODE Backup mode. The mode option takes any one of the following values:
full
Perform a full backup
diff
Perform a differential incremental backup, which backs up only the changes since the last full or incremental backup.
accu
Perform a cumulative incremental backup, which backs up all changes since the last full backup.

The following example requests a full backup of all the data on the specified cluster:

cbbackup -m full http://example.com:8091 /backups/backup-1

After an initial full backup, you can perform incremental backups. This example requests a differential incremental backup of all the data on the specified cluster:

cbbackup -m diff http://example.com:8091 /backups/backup-1

This example requests a cumulative incremental backup of all the data on the specified cluster:

cbbackup -m accu http://example.com:8091 /backups/backup-1