I’m currently running backups of 4 (Linux) machines to a Backblaze B2 account using Duplicati. Each computer uploads to a different B2 bucket. These computers are at 3 different locations, using different internet providers.
I’m now trying to add a 5th machine which runs Windows 10 and is located at the same place of one of the other 4 (thus, same internet provider). So far I’ve been unable to complete the initial backup, either through the GUI or through the CLI.
The command and output I’m seeing is transcribed below. This command was exported from the GUI with the Export -> As Command-line option.
C:\Users\myuser>"C:\Program Files\Duplicati 2\Duplicati.CommandLine.exe" backup "b2://<bucket-name-and-account-id-removed>" "C:\Users\myuser" --backup-name=home2 --dbpath="C:\Users\myuser\AppData\Local\Duplicati\83768879667373827077.sqlite" --encryption-module=aes --compression-module=zip --dblock-size=50mb --passphrase="<password-removed>" --retention-policy="1W:1D,4W:1W,12M:1M" --skip-files-larger-than=100KB --backup-test-samples=0 --thread-priority=idle --send-http-url=<duplicati-monitoring-url-removed> --exclude-files-attributes="temporary,system,hidden" --disable-module=console-password-input --exclude="%HOME%\Documents\\" --exclude="%HOME%\Downloads\\" --exclude="%HOME%\Portables\\" --exclude="%HOME%\Videos\\"
Backup started at 17/12/2018 19:33:34
Checking remote backup ...
Listing remote folder ...
Expected there to be a temporary fileset for synthetic filelist (3, duplicati-b028807f20e294cf29c4ab220107c1240.dblock.zip.aes), but none was found?
Scanning local files ...
56814 files need to be examined (281,39 GB)
56680 files need to be examined (281,39 GB)
56454 files need to be examined (281,38 GB)
56269 files need to be examined (281,38 GB)
55952 files need to be examined (281,37 GB)
55786 files need to be examined (281,37 GB)
55509 files need to be examined (281,36 GB)
55096 files need to be examined (281,36 GB)
54759 files need to be examined (281,36 GB)
54318 files need to be examined (281,35 GB)
54027 files need to be examined (281,34 GB)
53711 files need to be examined (281,33 GB)
53508 files need to be examined (281,32 GB)
53352 files need to be examined (281,31 GB)
53113 files need to be examined (281,31 GB)
52952 files need to be examined (281,30 GB)
52735 files need to be examined (281,29 GB)
52513 files need to be examined (281,28 GB)
52475 files need to be examined (281,28 GB)
Uploading file (49,91 MB) ...
52220 files need to be examined (281,27 GB)
52064 files need to be examined (281,26 GB)
51859 files need to be examined (281,25 GB)
51710 files need to be examined (281,24 GB)
51495 files need to be examined (281,24 GB)
51234 files need to be examined (281,23 GB)
51079 files need to be examined (281,23 GB)
50900 files need to be examined (281,22 GB)
50651 files need to be examined (281,21 GB)
50453 files need to be examined (281,21 GB)
50234 files need to be examined (281,20 GB)
50023 files need to be examined (281,19 GB)
49713 files need to be examined (281,18 GB)
48817 files need to be examined (281,18 GB)
48354 files need to be examined (281,18 GB)
48156 files need to be examined (281,17 GB)
47960 files need to be examined (281,16 GB)
47774 files need to be examined (281,16 GB)
47585 files need to be examined (281,15 GB)
47581 files need to be examined (281,15 GB)
Uploading file (49,91 MB) ...
Uploading file (49,91 MB) ...
Uploading file (49,91 MB) ...
Uploading file (49,91 MB) ...
Uploading file (49,91 MB) ...
Failed to process entry, path: C:\Users\myuser\Documents\<filename01-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename02-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename03-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename04-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename05-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename06-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename07-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename08-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename09-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename10-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename11-removed> => The channel is retired
Failed to process entry, path: C:\Users\myuser\Documents\<filename12-removed> => The channel is retired
Fatal error => Object reference not set to an instance of an object.
47580 files need to be examined (281,15 GB)
System.AggregateException: One or more errors occurred. ---> System.AggregateException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Duplicati.Library.Main.Volumes.BlockVolumeWriter.AddBlock(String hash, Byte[] data, Int32 offset, Int32 size, CompressionHint hint)
at Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.<>c__DisplayClass0_0.<<Run>b__0>d.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 CoCoL.AutomationExtensions.<RunTask>d__10`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.<RunMainOperation>d__12.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 inner exception stack trace ---
at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext()
--- End of inner exception stack trace ---
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, Action`1 method)
at Duplicati.Library.Main.Controller.Backup(String[] inputsources, IFilter filter)
at Duplicati.CommandLine.Commands.Backup(TextWriter outwriter, Action`1 setup, List`1 args, Dictionary`2 options, IFilter filter)
at Duplicati.CommandLine.Program.ParseCommandLine(TextWriter outwriter, Action`1 setup, Boolean& verboseErrors, String[] args)
at Duplicati.CommandLine.Program.RunCommandLine(TextWriter outwriter, TextWriter errwriter, Action`1 setup, String[] args)
---> (Inner Exception #0) System.AggregateException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Duplicati.Library.Main.Volumes.BlockVolumeWriter.AddBlock(String hash, Byte[] data, Int32 offset, Int32 size, CompressionHint hint)
at Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.<>c__DisplayClass0_0.<<Run>b__0>d.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 CoCoL.AutomationExtensions.<RunTask>d__10`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.<RunMainOperation>d__12.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 inner exception stack trace ---
at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext()
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at Duplicati.Library.Main.Volumes.BlockVolumeWriter.AddBlock(String hash, Byte[] data, Int32 offset, Int32 size, CompressionHint hint)
at Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.<>c__DisplayClass0_0.<<Run>b__0>d.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 CoCoL.AutomationExtensions.<RunTask>d__10`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.<RunMainOperation>d__12.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()<---
---> (Inner Exception #1) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at Duplicati.Library.Main.Operation.Common.BackendHandler.<DoWithRetry>d__21`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.Common.BackendHandler.<>c__DisplayClass13_0.<<UploadFileAsync>b__1>d.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.Common.BackendHandler.<UploadFileAsync>d__13.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.Backup.BackendUploader.<>c__DisplayClass0_0.<<Run>b__0>d.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 CoCoL.AutomationExtensions.<RunTask>d__10`1.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at Duplicati.Library.Main.Operation.Common.BackendHandler.<DoWithRetry>d__21`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.Common.BackendHandler.<>c__DisplayClass13_0.<<UploadFileAsync>b__1>d.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.Common.BackendHandler.<UploadFileAsync>d__13.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.Backup.BackendUploader.<>c__DisplayClass0_0.<<Run>b__0>d.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 CoCoL.AutomationExtensions.<RunTask>d__10`1.MoveNext()<---
<---
<---
I then tried running the backup job in the GUI, and it stopped with the simple “One or more errors occurred” message. Going to the Reporting -> Show log option, I see two things:
-
No log is generated for the “General” tab
-
I see no obvious errors on the “Remote” tab, but I’m pasting the messages below anyway
Dec 17, 2018 10:00 PM: put duplicati-b4428616b32fc4992962de00091ddcee5.dblock.zip.aes
Dec 17, 2018 9:58 PM: put duplicati-b377fdd11c97e484f9a76c426c8f6d884.dblock.zip.aes
Dec 17, 2018 9:57 PM: put duplicati-b9cb3ab83b4e64c0fa423ab6adb4b3a32.dblock.zip.aes
Dec 17, 2018 9:56 PM: put duplicati-bb66bf5a75d884b15b037d9fd83e17e4d.dblock.zip.aes
Dec 17, 2018 9:56 PM: put duplicati-b5c3e80309c324d85b3c8f37fdb69bf35.dblock.zip.aes
Dec 17, 2018 9:47 PM: put duplicati-bdbeeead1b91043f5a0a5a4b8cf25f45c.dblock.zip.aes
Dec 17, 2018 9:46 PM: list
I already tried restarting the backup from scratch, creating a new configuration pointed to a new B2 bucket. It seems to always end with the error messages pasted above.
One thing I noticed (though I’m not sure it’s relevant) is that the files causing the Failed to process entry, path: (…) => The channel is retired warnings/errors are contained in a folder which my configuration should be ignoring, as per the –exclude="%HOME%\Documents\" option.
The Duplicati version I’m running is the 2.0.4.5_beta_2018-11-28.
Can I do anything to enable this backup to finish properly?
Thanks in advance for any help with this problem.