Description
I create 1 default bucket, 2 sasl, 1 standard, and load 999 items to each bucket.
[2012-07-11 16:15:12,249] - [data_helper:285] INFO - creating direct client 10.5.2.22:11210 default (default bucket)
[2012-07-11 16:15:12,418] - [data_helper:285] INFO - creating direct client 10.5.2.22:11210 bucket0 (sasl bucket)
[2012-07-11 16:15:12,588] - [data_helper:285] INFO - creating direct client 10.5.2.22:11210 bucket1 (sasl bucket)
[2012-07-11 16:15:12,764] - [data_helper:285] INFO - creating direct client 10.5.2.22:11210 standard_bucket0 (standard bucket with dedicated port)
Then use command:
/opt/couchbase/bin/cbbackup http://10.5.2.23:8091 /tmp/backup
result is:
2012-07-10 19:01:18,353] - [remote_util:1088] INFO - #### 25.0% (999/3996 items)
[2012-07-10 19:01:18,353] - [remote_util:1088] INFO - bucket: default, items transferred...
[2012-07-10 19:01:18,353] - [remote_util:1088] INFO - counter : total | last | per sec
[2012-07-10 19:01:18,353] - [remote_util:1088] INFO - tot_sink_batch : 135 | 135 | 472.7
[2012-07-10 19:01:18,353] - [remote_util:1088] INFO - tot_sink_byte : 255744 | 255744 | 895459.4
[2012-07-10 19:01:18,353] - [remote_util:1088] INFO - tot_sink_item : 999 | 999 | 3497.9
[2012-07-10 19:01:18,357] - [remote_util:1088] INFO - #### 25.0% (999/3996 items)
[2012-07-10 19:01:18,357] - [remote_util:1088] INFO - bucket: standard_bucket0, items transferred...
[2012-07-10 19:01:18,357] - [remote_util:1088] INFO - counter : total | last | per sec
[2012-07-10 19:01:18,357] - [remote_util:1088] INFO - tot_sink_batch : 275 | 275 | 1013.3
[2012-07-10 19:01:18,358] - [remote_util:1088] INFO - tot_sink_byte : 511488 | 511488 | 1884747.2
[2012-07-10 19:01:18,358] - [remote_util:1088] INFO - tot_sink_item : 1998 | 1998 | 7362.3
[2012-07-11 16:15:24,263] - [remote_util:1088] INFO - done
It only backup all the items from default bucket and the standard bucket, no sasl bucket. I think when we don't have a -b flag, we should backup all the buckets by default?