How to user cbrestore?


#1

I Lv, account numbers, passwords actually got to be enclosed in double quotes. Too silent.


#2

I was like this with a mistake:
cbrestore -v -u Baidu -P 1804!@#$%^&114mycncom C:\bak1\Baidu C:\bak1\Baidu-0.mb C:\bak1\Baidu-1.mb C:\bak1\Baidu-2.mb C:\bak1\Baidu-3.mb
Error message:
Traceback (most recent call last):
File “cbrestore”, line 69, in worker
File “cbrestore”, line 37, in connect
File “mc_bin_client.pyc”, line 191, in sasl_auth_plain
File “mc_bin_client.pyc”, line 187, in sasl_auth_start
File “mc_bin_client.pyc”, line 104, in _doCmd
File “mc_bin_client.pyc”, line 97, in _handleSingleResponse
File “mc_bin_client.pyc”, line 93, in _handleKeyedResponse
MemcachedError: Memcached error #32: Auth failure
Traceback (most recent call last):
File “cbrestore”, line 250, in
File “cbrestore”, line 240, in main
for db_name in dbs:
KeyboardInterrupt
If I do not correct usage, how should I correct it?
Thank you very much!


#3

Hello,
Can you confirm that it is working?
I am not sure you must put that in double quotes, but it is probably due to the fact that you have many special characters.
Documentation:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-cmdli
Regards