問題:當恢復備份數(shù)據(jù)時出現(xiàn)錯誤 error: there is no bucket: xxx at source
cmd下運行恢復命令出現(xiàn)錯誤
E:\\Program Files\\Couchbase\\Server\\bin>cbrestore C:\\backups\\20160919-korea http://172.27.0.158:8091 -u Administrator -p xxxxxx --bucket-source=Card --bucket-destination=Card
2016-09-20 16:56:29,657: mt skipping bucket that is not a couchbase-bucket: Token
error: there is no bucket: Card at source: C:\\backups\\20160919-korea
解決辦法:
再備份一次數(shù)據(jù)(如果當前bucket沒數(shù)據(jù)毙芜,隨便添加一個數(shù)據(jù))到另外一個文件夾20160920-korea忽媒,然后把前面?zhèn)浞莸臄?shù)據(jù)(20160919-korea)拷貝到20160920-korea文件夾,再對20160920-korea文件夾進行數(shù)據(jù)恢復腋粥。
注: 數(shù)據(jù)是以文件夾形式 如node-172.27.0.158%3A8091