/ Data

Couchbase

Couchbase

Backup and Restore

Official documentation

cbbackupmgr Enterprise Edition only, cbbackup and cbrestore

cbbackup

Summary from the official doc

Syntax

cbbackup [options] [backup-dir] [destination] -u [admin] -p [password]

Example, one incremental, two backups because after the first backup the directory exist

cbbackup http://HOST:8091 /backup-42 -u Administrator -p password
cbbackup http://HOST:8091 /backup-42 -u Administrator -p password
cbbackup http://HOST:8091 /backup-42 -u Administrator -p password

-m full -m diff or -m accu to choose explicitely what kind of backup BUT thatll always be a full for a new location.--single-node` to backup only the node

Couchbase
Share this