When running cbbackupwrapper and cbrestorewrapper (couchbase 4.1.) on a multi-server cluster, I get various errors. After investigating, I found out that cbbackupwrapper needs to be involved on a single node one at a time
/opt/couchbase/bin/cbbackupwrapper http://localhost:8091 /tmp/backup-20160804_18 -u bwadmin -p bwadmin -m full --path /opt/couchbase/bin --single-node -b mybucket1
And that cbrestorewrapper on one node and one bucket at a time:
/opt/couchbase/bin/cbrestorewrapper /tmp/backup-20160804_18 http://10.9.31.71:8091 -u admin -p admin --path /opt/couchbase/bin -v -b mybucket1
When invoked on all bucket (without -b mybucket1) I get error logs saying:
error: there is no bucket: mybucket1 at source:
This seems to be caused by the python code in /opt/couchbase/lib/python/pump_bfd
def check((opts, spec) which does not find all buckets that were backup(due to a mix of 3.0 directory structrure and non 3.0 directory structure). Not that some of my buckets have litlle to no data.
Anyway, I just thought I would let you know. If this is simply a limitation, you might want to document it so others don’t lose as much time as I did on this.