Need to take backup of a single bucket from a cluster containing multiple buckets using cbbackupmgr. Is there a way?

backup
#1

Single bucket backup from a cluster of multiple buckets using cbbackupmgr

#2

Hello,

Single bucket backup from a cluster of multiple buckets using cbbackupmgr

There is a way, when creating a repo via the config command there is an option to control what buckets are backed up:

cbbackupmgr config [--archive <archive_dir>] [--repo <repo_name>]
                   [--exclude-buckets <bucket_list>] [--include-buckets <bucket_list>]

For example:

cbbackupmgr config --archive /cb-backup --repo one_bucket_backup --include-buckets travel-sample
cbbackupmgr backup --archive /cb-backup --repo one_bucket_backup -c localhost -u backup-user -p password