Restoring incrementally

Restoring incrementally

Incremental restore operations are run by using the cbrestore command-line tool.

Description

The updated tool adds new options to support partial restore operations. The tool still supports the existing options for full restores.

The following table describes the new incremental restore options:

Option Description
--from-date=DATE Restores the data beginning with the specified date. Data collected before this date is not restored.
--to-date=DATE Restores data ending with the specified date. Data collected after this date is not restored.
The format of the DATE specification is YYYY-MM-DD , where:
YYYY
4-digit year
MM
2-digit month
DD
2-digit day

Syntax

The general format of the cbrestore command is:

cbrestore [options] [backup_dir] [destination]

Example

The following example requests a restoration of data backed up between August 1, 2014 and August 3, 2014. The ‑b option specifies the name of the bucket to restore from the backup file and the ‑B option specifies the name of the destination bucket in the cluster.

cbrestore -b source-bucket -B destination-bucket --from-date=2014-08-01 --to-date=2014-08-03 /backups/backup-1 http://example.com:8091