§ Databases · Document
Couchbase backups, natively.
A fresh cbbackupmgr archive per run with a full backup, the password passed in the environment.
What Xtic runs
cbbackupmgr backup -a /xtic/<run>/archive -r xtic -c couchbase://127.0.0.1 -u "$CB_USERNAME" --full-backupShown with placeholders. Credentials never appear on a command line: they reach the tool through the environment, a file descriptor or a short-lived file in memory.
Restore paths
- cbbackupmgr restore into the cluster, optionally creating buckets
Verification
cbbackupmgr info on the archive. Every artifact is also hashed, and the stored copy is read back and compared before the run counts as verified.
Version rule
Restores archives written by cbbackupmgr 6.5 and later.
Good to know
- Community Edition restores whole buckets only
- Licence and editions: Collection-level restore and merges need Enterprise.
More databases