I’ve been using Duplicati on my windows 10 machine for 2-3 years now. A few days ago I realized that it stopped making backups in the beginning of December:
Dec 11, 2018 2:49 PM: Reporting error gave error
System.ObjectDisposedException: Cannot write to a closed TextWriter.
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at Duplicati.Server.WebServer.RESTHandler.DoProcess(RequestInfo info, String method, String module, String key)
Dec 12, 2018 12:00 PM: Failed while executing “Backup” with id: 1
Duplicati.Library.Interface.UserInformationException: Unexpected difference in fileset version 49: 11.09.2018 13:00:01 (database id: 121), found 112183 entries, but expected 113124 at Duplicati.Library.Main.Database.LocalDatabase.VerifyConsistency(Int64 blocksize, Int64 hashsize, Boolean verifyfilelists, IDbTransaction transaction) at Duplicati.Library.Main.Operation.Backup.BackupDatabase.<>c__DisplayClass32_0.<VerifyConsistencyAsync>b__0() at Duplicati.Library.Main.Operation.Common.SingleRunner.<>c__DisplayClass3_0.<RunOnMain>b__0() at Duplicati.Library.Main.Operation.Common.SingleRunner.<DoRunOnMain>d__2
1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task) at Duplicati.Library.Main.Controller.<>c__DisplayClass13_0.<Backup>b__0(BackupResults result) at Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action1 method) at Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter) at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue) <
I hit “repair database”, the other day, which failed. Tried again - failed again, with this error :
Jan 9, 2019 10:45 AM: Failed while executing “Repair” with id: 1
Duplicati.Library.Interface.UserInformationException: Failed to repair, after repair 2 blocklisthashes were missing
at Duplicati.Library.Main.Database.LocalRepairDatabase.FixMissingBlocklistHashes(String blockhashalgorithm, Int64 blocksize)
at Duplicati.Library.Main.Operation.RepairHandler.Run(IFilter filter)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action`1 method)
at Duplicati.Library.Main.Controller.Repair(IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue) <
So I hit “rebuild database”. Duplicati worked on this for more than 24 hours and seemed stuck. “Abort after file has been written” did not change anything: duplicati keeps working… so I aborted.
Just tried to update to see if a bugfix exists:
Jan 10, 2019 11:12 AM: Error in updater
System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at Duplicati.Library.AutoUpdater.UpdaterManager.CheckForUpdate(ReleaseType channel)<
As I said, I have a Windows 10 (Laptop). On my 500Gb SSD, there are about 350Gb of data. I estimate that 300Gb should get backed up.
The target is reached through sftp protocol (ssh), on my own freenas based server.
Any advice on what to do? I could create a second backup (start from scratch) and delete the first one once the new one is in place - but I don’t think that this is the right way to go.
I’d be very thankful for any advice.