I have a bucket (mobilotis) in a couchbase server 5.0.1 community edition, on an Windows 2016 server, the web console display 41214 items.
I have a unique index :
When I’m running this query select count(*) from mobilotis where table = “commune”; the result is 38933.
Ok, I’m trying to duplicate the base for developpment purpose, so i’m using cbbackup like that :
C:\Program Files\Couchbase\Server\bin>cbbackup.exe http://localhost:8091 “C:\Quadra Diffusion\Sauvegardes\Couchbase” -m full -b mobilotis -u Administrator -p SecretPassword
I 7zipped the created backup folder et copied it in my computer, and un7ziped it of course.
I’m under wondows 10 last version, and I installed the exact same server version, and I added the same bucket, empty of course.
I’m using the cbrestore like that :
C:\Program Files\Couchbase\Server\bin>cbrestore.exe c:\Dump\Couchbase\ http://localhost:8091 -b mobilotis -B mobilotis -u Administrator -p SecretPassword
This command goes without trouble.
After that, I check in the web console, on my computer, I have 41154 items instead of 41214 .
When I’m running this query select count(*) from mobilotis where table = “commune”; the result is 709 instead of 38933.
What am I doing wrong ?