Hi All,
I have created a couchbase backup using cbbackupwrapper and when tried to restore back to the same cluster using cbrestorewrapper, I got below error:
Error with backup - look in /home/sax/cbbackup/logs/0-99-restore-IAMDEDUP-restore-IAMDEDUP.err for details
Error with backup - look in /home/sax/cbbackup/logs/200-299-restore-IAMDEDUP-restore-IAMDEDUP.err for details
Error with backup - look in /home/sax/cbbackup/logs/100-199-restore-IAMDEDUP-restore-IAMDEDUP.err for details
Error with backup - look in /home/sax/cbbackup/logs/400-499-restore-IAMDEDUP-restore-IAMDEDUP.err for details
ERROR!
When I checked in above-mentioned log files, I got below 1 liner as follows
error: unexpected db user version: 0 vs [2004, 2014, 2015], maybe a backup directory created by older releases is reused
Note: There were total 11 directories which got created by cbbackupwrapper tool for 10M records and out of 11 directories I got the error for 4 directories.
Commands:
I have used below 3 commands to create backup
- bin/cbbackupwrapper http://127.0.0.1:8091 /home/sax/cbbackup/ -u Administrator -p Administrator -P 10
- bin/cbbackupwrapper http://127.0.0.1:8091 /home/sax/cbbackup/ -u Administrator -p Administrator -P 10 -x batch_max_size=5000
- bin/cbbackupwrapper http:/127.0.0.1:8091 /home/sax/cbbackup/ -u Administrator -p Administrator -P 10 -x batch_max_size=10000
And used below command to restore backup to the same cluster
bin/cbrestorewrapper /home/sax/cbbackup/ http:/127.0.0.1:8091 -u Administrator -p Administrator
but every time I got above-mentioned error.
Cluster Details:
I have a 3 Node cluster of Couchbase Server Community version (couchbase-server-community-4.5.1-centos6.x86_64.rpm)
Question: I am not getting why I am facing above mentioned (highlighted) issue when I am not doing any upgradation and using the same cbbackwrapper/cbrestorewrapper tool version while creating and restoring the backup.
Any help would be appreciated.