Description
I create a default bucket insert 11 items. Then backup from one node and restore to another node. Both are build 1954. I ran the script under the source node path /opt/couchbase/bin
[chisheng@cen-1716 bin]$ ./cbbackup http://10.5.2.22:8091 ~/backup
################### 100.0% (11/11 msgs)
bucket: default, msgs transferred...
: total | last | per sec
batch : 15 | 15 | 104.7
byte : 44 | 44 | 307.2
msg : 11 | 11 | 76.8
done
[chisheng@cen-1716 bin]$ ./cbrestore ~/backup/ http://10.5.2.23:8091
################### 100.0% (11/11 msgs)
bucket: default, msgs transferred...
: total | last | per sec
batch : 1 | 1 | 15.8
byte : 44 | 44 | 694.5
msg : 11 | 11 | 173.6
done
>>> client = MemcachedClient("10.5.2.22", 11211)
>>> for i in range(10):
... client.set("chisheng%s"%,0,100000+i,"hong")
>>> client.get("chisheng9")#source
(100009, 13944249166277618, 'hong')
>>> client1 = MemcachedClient("10.5.2.23", 11211)
>>> client1.get("chisheng9")#destination
(2844131584, 13944249166277618, 'hong')
Attachments
For Gerrit Dashboard: MB-7229 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
22733,1 | MB-7229: Don't convert flags to host order for 'with meta' opetations | master | ep-engine | Status: ABANDONED | 0 | 0 |
22736,3 | MB-7229: Don't convert flags to host order with meta opetations | 2.0.0 | ep-engine | Status: MERGED | +2 | +1 |
22750,1 | Merge branch '2.0.0' | master | ep-engine | Status: ABANDONED | -2 | 0 |
22824,1 | MB-7229: Don't convert flags to host order for 'with meta' opetations | master | ep-engine | Status: ABANDONED | 0 | 0 |
23017,1 | MB-7229: Don't convert flags to host order with meta opetations | master | ep-engine | Status: ABANDONED | +2 | +1 |