This happens with Couchbase Server Community Edition 3.0.1 running on CentOS Linux 7
The backup begins and writes 4000 msgs to disk, which represents 88% of the bucket’s data (a small bucket) and then hangs: no more progress and no termination.
All I could find besides the issue you linked to was this: Cbbackup is hanging
I’m not really sure if the issue linked in that post is whats causing the problem, but it states that it should be fixed in 3.0.3, which is currently only available in the enterprise edition, to which we no longer have a license which of course also limits me to asking this question on the forum.
Have you tried with this version? I tried with both 3.0.1 and 3.0.2 but that did not help.
I would really like to take a backup soon. I am lucky that this is a small bucket and only my staging server. I might write my on backup routine in Ruby to work around this. After all, the data is Json, Strings and Numbers only, so this shouldn’t be hard.
Still, backup is a somewhat essential feature and would be really nice to have back
If you ever find a solution to this issue, please post in one of the numerous threads about this issue, I still havn’t been able to find a solution, except creating a new bucket, then using a bucketcopy program we made and copy over all the data (which works fine) and finally deleting the old bucket.
But since I have seen this happen to serveral buckets this is not really a solution.
Thanks for the info @viktorhanssonand@itay. I’ve chatted with a couple of other folks on this and we should be able to update this thread soon with what we’ve found and what we expect as a way to move forward.
Hi folks, there were a number of issues recently on cbbackup but if you are experiencing the issue, pls see the workaround provided in the bug. Also pls report back if the workaround has not fixed the issue for you. https://issues.couchbase.com/browse/MB-14833
The fix is in progress but is not in any of the editions yet.
thanks
-cihan
To anyone who might be struggling with cbbackup hanging indefinitely, as I was, I may have a workaround for you. See my response to “Cbbackup is hanging”: Cbbackup is hanging
Just an update.
I upgraded to 4.0.0 CE and if before cbbackup hangs in the middle, now it just quits without reaching 100%, can be ~70%, ~80%, etc.
This means that the backup is partial as thus can be useless.
I think that if cbbackup reads a corrupted entry, it quits instead of skip to the next one.
My question is: “Is there a house keeping utility that can indicate / remove corrupted docs so that cbbackup can be free to work” ?