We have recently upgraded from Couchbase Server v6.6.5 to v7.0.3.
We backup out clusters on a separate server (not running Couchbase Server) using cbbackupmgr.
In v6.6.5 the user that connected was given the role data_backup for each bucket to backup. As it didn’t have access to other buckets, they were not backed up.
This is important as we have ephemeral buckets which must not be backed up for compliance reasons.
When we upgraded to v7.0.3 the backups failed as the user was not in the backup_admin role. When we added the user to this role it backed up all buckets, ignoring data_backup[‘bucket’] role. The backup_admin role can’t be assigned to a bucket.
How do we backup a selection of buckets in v7?
Note, we don’t want to have a separate backups per bucket.