Hello everyone, I recently encountered this fatal error in my backup and am looking for help. My setup:
- Duplicati - 2.1.0.5_stable_2025-03-04 running on Windows 11 (latest).
- Source is local computer, destination is local network server running ubuntu 24.04.2 LTS.
- Backup was running fine (daily) until a week ago
- I have not recently modified the backup settings or fileset in any way
- The files flagged in the error below are also untouched, and I have confirmed that the 2 files listed below open correctly. In addition, the same files are also backed up to a remote (AWS) server, and that backup continues to run normally.
Error message:
Failed: Found inconsistency in the following files while validating database:
D:\D***1.tif, actual size 24701532, dbsize 24599132, blocksetid: 411493
D:\D***2.tif, actual size 24847848, dbsize 24745448, blocksetid: 411521
. Run repair to fix it.
Details: System.IO.InvalidDataException: Found inconsistency in the following files while validating database:
D:\D***1.tif, actual size 24701532, dbsize 24599132, blocksetid: 411493
D:\D***2.tif, actual size 24847848, dbsize 24745448, blocksetid: 411521
. Run repair to fix it.
at Duplicati.Library.Main.Database.LocalDatabase.VerifyConsistency(Int64 blocksize, Int64 hashsize, Boolean verifyfilelists, IDbTransaction transaction)
at Duplicati.Library.Main.Operation.Backup.BackupDatabase.<>c__DisplayClass34_0.<VerifyConsistencyAsync>b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.DoRunOnMain[T](Func``1 method)
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(String backendurl, Options options, BackupResults result)
at Duplicati.Library.Main.Operation.BackupHandler.RunAsync(String[] sources, IFilter filter, CancellationToken token)
at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)
at Duplicati.Library.Main.Operation.BackupHandler.Run(String[] sources, IFilter filter, CancellationToken token)
at Duplicati.Library.Main.Controller.<>c__DisplayClass17_0.<Backup>b__0(BackupResults result)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action``1 method)`
Here’s what I have tried, with the results. The backup continues to fail with the error above.
- Database Repair:
[Information-Duplicati.Library.Main.Operation.RepairHandler-DatabaseIsSynchronized]: Destination and database are synchronized, not making any changes - list-broken-files:
[Information-Duplicati.Library.Main.Operation.ListBrokenFilesHandler-NoBrokenFilesetsInDatabase]: No broken filesets found in database, checking for missing remote files
[Information-Duplicati.Library.Main.Operation.ListBrokenFilesHandler-NoMissingFilesFound]: Skipping operation because no files were found to be missing, and no filesets were recorded as broken. - Ran
chkdsk /fon source files,sfc /scannow,dism /online /cleanup-image /restorehealthon source computer, restarted. - Restarted destination computer
I have not yet tried a rebuild database, looking to see if there is an intermediate step I should try. Happy to provide any further info, thanks for reading!