Hello,
I’ve backup a bucket on 4.5 using this command:
cbbackup http://localhost:8091 -u Administrator -p xxx -b HR /home/student/backup
I’ve compress and transferred the files generated using this command:
tar -zcvf archive.tar.gz 2017-05-03T142037Z to the target system (4.6).
And then run the restore:
cbrestore /home/student/backup/2017-05-03T142037Z/2017-05-03T142037Z-full http://localhost:8091 -u Administrator -p xxxxx --bucket-source=HR --bucket-destination=HR -v -vvv
However the restore operation is not done:
cbrestore /home/student/backup/2017-05-03T142037Z/2017-05-03T142037Z-full http://localhost:8091 -u Administrator -p xxxxx --bucket -source=HR --bucket-destination=HR
student@ubuntu:~$ ./restore_hr
.
bucket: HR, msgs transferred…
: total | last | per sec
byte : 0 | 0 | 0.0
done
This is the output with verbose :
2017-05-03 07:49:10,568: mt cbrestore…
2017-05-03 07:49:10,568: mt source : /home/student/backup/2017-05-03T142037Z/2017-05-03T142037Z-full
2017-05-03 07:49:10,569: mt sink : http://localhost:8091
2017-05-03 07:49:10,569: mt opts : {‘username’: ‘’, ‘verbose’: 4, ‘extra’: {‘max_retry’: 10.0, ‘rehash’: 0.0, ‘dcp_consumer_queue_length’: 1000.0, ‘data_only’: 0.0, ‘uncompress’: 0.0, ‘nmv_retry’: 1.0, ‘conflict_resolve’: 1.0, ‘cbb_max_mb’: 100000.0, ‘report’: 5.0, ‘mcd_compatible’: 1.0, ‘try_xwm’: 1.0, ‘backoff_cap’: 10.0, ‘batch_max_bytes’: 400000.0, ‘report_full’: 2000.0, ‘flow_control’: 1.0, ‘batch_max_size’: 1000.0, ‘seqno’: 0.0, ‘design_doc_only’: 0.0, ‘recv_min_bytes’: 4096.0}, ‘ssl’: False, ‘threads’: 4, ‘to_date’: None, ‘key’: None, ‘password’: ‘’, ‘id’: None, ‘bucket_source’: ‘HR’, ‘silent’: False, ‘dry_run’: False, ‘from_date’: None, ‘bucket_destination’: ‘HR’, ‘add’: False, ‘vbucket_list’: None}
2017-05-03 07:49:10,569: mt source_class: <class ‘pump_bfd.BFDSource’>
2017-05-03 07:49:10,569: mt sink_class: <class ‘pump_cb.CBSink’>
2017-05-03 07:49:10,570: mt rest_request: Administrator@localhost:8091/pools/default/buckets
2017-05-03 07:49:10,580: mt source_bucket: HR
2017-05-03 07:49:10,580: mt sink_bucket: HR
2017-05-03 07:49:10,580: mt source_buckets: HR
2017-05-03 07:49:10,580: mt bucket_source: HR
2017-05-03 07:49:10,580: mt source_buckets filtered: HR
2017-05-03 07:49:10,580: mt bucket: HR
2017-05-03 07:49:10,580: mt source_nodes: 127.0.0.1:8091
2017-05-03 07:49:10,581: mt enqueueing node: 127.0.0.1:8091
2017-05-03 07:49:10,582: w0 node: 127.0.0.1:8091
2017-05-03 07:49:10,594: w0 pump (/home/student/backup/2017-05-03T142037Z/2017-05-03T142037Z-full(HR@127.0.0.1:8091)->http://localhost:8091(HR@127.0.0.1:8091)) done.
2017-05-03 07:49:10,595: w0 source : /home/student/backup/2017-05-03T142037Z/2017-05-03T142037Z-full(HR@127.0.0.1:8091)
2017-05-03 07:49:10,595: w0 sink : http://localhost:8091(HR@127.0.0.1:8091)
2017-05-03 07:49:10,595: w0 : total | last | per sec
2017-05-03 07:49:10,595: w0 batch : 1 | 1 | 81.8
2017-05-03 07:49:10,595: w0 byte : 0 | 0 | 0.0
2017-05-03 07:49:10,595: w0 msg : 0 | 0 | 0.0
2017-05-03 07:49:10,595: w0 node: 127.0.0.1:8091, done; rv: 0
.
bucket: HR, msgs transferred…
: total | last | per sec
batch : 1 | 1 | 16.0
byte : 0 | 0 | 0.0
msg : 0 | 0 | 0.0
done
Any idea how to fix ?
Many thanks
Arturo