Skip to content

Instantly share code, notes, and snippets.

@FrancisVarga
Created November 14, 2012 12:21
Show Gist options
  • Save FrancisVarga/4071813 to your computer and use it in GitHub Desktop.
Save FrancisVarga/4071813 to your computer and use it in GitHub Desktop.
Backuping a cluster with 2 nodes.
francis-casino-cc:www hissterkiller$ /Applications/Couchbase\ Server.app/Contents/Resources/couchbase-core/bin/cbbackup -u Administrator -p Administrator -t 256 -v http://192.168.42.16:8091 /Users/hissterkiller/cbbackups
2012-11-14 12:57:52,610: mt cbbackup...
2012-11-14 12:57:52,610: mt source : http://192.168.42.16:8091
2012-11-14 12:57:52,610: mt sink : /Users/hissterkiller/cbbackups
2012-11-14 12:57:52,610: mt opts : {'username': '<xxx>', 'verbose': 1, 'dry_run': False, 'extra': {'max_retry': 10.0, 'nmv_retry': 1.0, 'cbb_max_mb': 100000.0, 'try_xwm': 1.0, 'batch_max_bytes': 400000.0, 'report_full': 2000.0, 'batch_max_size': 1000.0, 'report': 5.0, 'recv_min_bytes': 4096.0}, 'single_node': False, 'threads': 256, 'key': None, 'password': '<xxx>', 'id': None, 'bucket_source': None}
2012-11-14 12:57:52,638: mt bucket: default
[###### ] 29.7% (1357948/4567610 msgs)
2012-11-14 12:59:18,275: w1 progress...
2012-11-14 12:59:18,278: w1 source : http://192.168.42.16:8091([email protected]:8091)
2012-11-14 12:59:18,278: w1 sink : /Users/hissterkiller/cbbackups([email protected]:8091)
2012-11-14 12:59:18,279: w1 : total | last | per sec
2012-11-14 12:59:18,279: w1 batch : 1999 | 1999 | 23.4
2012-11-14 12:59:18,279: w1 byte : 330674388 | 330674388 | 3865046.7
2012-11-14 12:59:18,279: w1 msg : 736878 | 736878 | 8612.9
[####### ] 37.0% (1690726/4567610 msgs)
2012-11-14 12:59:43,538: w0 progress...
2012-11-14 12:59:43,539: w0 source : http://192.168.42.16:8091([email protected]:8091)
2012-11-14 12:59:43,539: w0 sink : /Users/hissterkiller/cbbackups([email protected]:8091)
2012-11-14 12:59:43,539: w0 : total | last | per sec
2012-11-14 12:59:43,539: w0 batch : 1999 | 1999 | 18.0
2012-11-14 12:59:43,539: w0 byte : 329843221 | 329843221 | 2975258.5
2012-11-14 12:59:43,539: w0 msg : 734867 | 734867 | 6628.7
[############ ] 62.1% (2836815/4567610 msgs)
2012-11-14 13:01:12,915: w1 progress...
2012-11-14 13:01:12,915: w1 source : http://192.168.42.16:8091([email protected]:8091)
2012-11-14 13:01:12,916: w1 sink : /Users/hissterkiller/cbbackups([email protected]:8091)
2012-11-14 13:01:12,916: w1 : total | last | per sec
2012-11-14 13:01:12,916: w1 batch : 3999 | 2000 | 17.4
2012-11-14 13:01:12,916: w1 byte : 773826550 | 443152162 | 3865686.4
2012-11-14 13:01:12,916: w1 msg : 1722879 | 986001 | 8601.0
2012-11-14 13:02:17,345: w1 source : http://192.168.42.16:8091([email protected]:8091)
2012-11-14 13:02:17,345: w1 sink : /Users/hissterkiller/cbbackups([email protected]:8091)
2012-11-14 13:02:17,345: w1 : total | last | per sec
2012-11-14 13:02:17,345: w1 batch : 5645 | 1646 | 25.5
2012-11-14 13:02:17,345: w1 byte : 1025120015 | 251293465 | 3900323.3
2012-11-14 13:02:17,345: w1 msg : 2283526 | 560647 | 8701.8
[################## ] 87.9% (4014404/4567610 msgs)
2012-11-14 13:03:40,521: w0 progress...
2012-11-14 13:03:40,521: w0 source : http://192.168.42.16:8091([email protected]:8091)
2012-11-14 13:03:40,522: w0 sink : /Users/hissterkiller/cbbackups([email protected]:8091)
2012-11-14 13:03:40,522: w0 : total | last | per sec
2012-11-14 13:03:40,522: w0 batch : 3999 | 2000 | 8.4
2012-11-14 13:03:40,522: w0 byte : 778015607 | 448172386 | 1891158.9
2012-11-14 13:03:40,522: w0 msg : 1732974 | 998107 | 4211.7
2012-11-14 13:06:22,127: w0 source : http://192.168.42.16:8091([email protected]:8091)
2012-11-14 13:06:22,127: w0 sink : /Users/hissterkiller/cbbackups([email protected]:8091)
2012-11-14 13:06:22,127: w0 : total | last | per sec
2012-11-14 13:06:22,127: w0 batch : 5615 | 1616 | 10.0
2012-11-14 13:06:22,127: w0 byte : 1025598795 | 247583188 | 1532023.3
2012-11-14 13:06:22,127: w0 msg : 2284085 | 551111 | 3410.2
[####################] 100.0% (4567611/4567610 msgs)
bucket: default, msgs transferred...
: total | last | per sec
batch : 11260 | 11260 | 22.1
byte : 2050718810 | 2050718810 | 4020172.4
msg : 4567611 | 4567611 | 8954.2
error: no design source node; spec_parts: ('192.168.42.16', '8091', 'Administrator', 'Administrator', '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment