During a moment of total stupidity, I accidentally removed a few hundred remote files in my b2 bucket.
Quite logically, Duplicati has complained about that during the next backup command, suggesting to repair the backup.
I tried the
--rebuild-missing-dblock-files option but this one complained about corrupted dblocks, and suggested to list broken files and then purge them.
This is what I did next, and while it worked without any error output, the backup does not want to work either.
I get this kind of error messages:
Fatal error => Found inconsistency in the following files while validating database: /mnt/backup/share/obones/doc and settings/obones/Application Data/XnView/XnView.db, actual size 164340736, dbsize 150516736, blocksetid: 497524 /mnt/backup/share/obones/doc and settings/obones/Application Data/XnView/original1.XnView.db, actual size 164340736, dbsize 150516736, blocksetid: 497524 /mnt/backup/share/obones/doc and settings/obones/Application Data/Winamp/Winamp.m3u8, actual size 78, dbsize 0, blocksetid: 497531 /mnt/backup/share/obones/doc and settings/obones/Application Data/Winamp/Winamp.q1, actual size 4587, dbsize 0, blocksetid: 497533 /mnt/backup/share/obones/doc and settings/obones/Application Data/Winamp/links.xml, actual size 3259, dbsize 0, blocksetid: 497535 ... and 83445 more. Run repair to fix it.
So, hey, I then went on to run
repair and this one goes through apparently fine, without any output after the
Listing remote files line.
But this did not seem to help at all because I’m getting the exact same error message when I start backup again.
What should I try next?
I mean, I can always empty the entire remote bucket, delete the database file and start over. But that would mean losing the backup history which I’d like to avoid if possible.