Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Error / DB corruption: Unexpected difference in fileset version X: found Y entries, but expected Z #3644
The error "Unexpected difference in fileset version X: found Y entries, but expected Z" gets generated in certain cases when the backup operation gets interrupted before completion.
Steps to reproduce
Error from the internal log:
“Unexpected difference in fileset” errors [22.214.171.124] provides several workarounds for those who don't want to recreate the database (which can be very slow). Basically, one deletes the troubled version. 126.96.36.199 directions are here. The prior 188.8.131.52 beta didn't identify the version, so needed awkward help, but that's described too.
In spite of fortune that workarounds that generally work are known, reproducible DB corruption should be a call to action IMO. My backup got corrupted when my Internet connection glitched briefly. Test case is here. The interesting thing is that the network issue or stop silently corrupts, then the next backup trips over that.