Hi
We faced an awful issue migrating Couchbase Server between providers (2.1.1 ==> 3.0.1)
We made backup on source machine with cbbackup, and then transferred it to destination via rsync
But when we try to restore with cbrestore, we have the following outcome, several times over ours without success:
root@persefone:~ # cbrestore /home/fredericpena/backup_pre_migracion http://Admini...@persefone.xxx.xx:8091 -p XXXXX -b my-database -vvv
2015-01-24 11:01:50,702: mt cbrestore...
2015-01-24 11:01:50,702: mt source : /home/fredericpena/backup_pre_migracion
2015-01-24 11:01:50,703: mt sink : http://persefone.xxx.xx:8091
2015-01-24 11:01:50,703: mt opts : {'username': None, 'verbose': 3, 'dry_run': False, 'extra': {'max_retry': 10.0, 'rehash': 0.0, 'data_only': 0.0, 'uncompress': 0.0, 'nmv_retry': 1.0, 'conflict_resolve': 1.0, 'cbb_max_mb': 100000.0, 'mcd_compatible': 1.0, 'try_xwm': 1.0, 'backoff_cap': 10.0, 'batch_max_bytes': 400000.0, 'report_full': 2000.0, 'seqno': 0.0, 'batch_max_size': 1000.0, 'report': 5.0, 'design_doc_only': 0.0, 'recv_min_bytes': 4096.0}, 'from_date': None, 'bucket_destination': None, 'add': False, 'vbucket_list': None, 'threads': 4, 'to_date': None, 'key': None, 'password': '<xxx>', 'id': None, 'bucket_source': 'my-database'}
2015-01-24 11:01:50,703: mt source_class: <class 'pump_bfd.BFDSource'>
2015-01-24 11:01:50,703: mt sink_class: <class 'pump_cb.CBSink'>
2015-01-24 11:01:50,704: mt rest_request: Admini...@persefone.xxx.xx:8091/pools/default/buckets
2015-01-24 11:01:50,720: mt source_bucket: my-database
2015-01-24 11:01:50,720: mt sink_bucket: my-database
error: missing bucket-destination: my-database at destination: http://persefone.xxx.xx:8091; perhaps your username/password is missing or incorrect
my-database and server changed for privacy reasons
The password is correct and checked via web interface
As the python cli scripts are some kind of cryptic for me (i must confess i'm not much python aware nor savvy) i cant see what we have wrong.
We had to roll back our old server from backups and do a XDCR replication (some hundred $ spent on that as we finished contract with our previous provider).
What scares us is the event of a new failure, how to be confident on backup restoration???