I have a backup on my Windows server, running v2.0.4.5, that is now failing because it says that a file or path is too long, but unhelpfully not telling me what file/path:
2018-11-29 08:16:12 +01 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetPathRoot(String path)
at Duplicati.Library.Snapshots.UsnJournalService.IsPathEnumerated(String path)
at Duplicati.Library.Main.Operation.BackupHandler.<>c__DisplayClass12_0.<RunMainOperation>b__2(String path, Int64 fileSize)
at Duplicati.Library.Main.Database.LocalBackupDatabase.AppendFilesFromPreviousSetWithPredicate(IDbTransaction transaction, Func`3 exclusionPredicate, Int64 fileSetId, Int64 prevFileSetId, DateTime timestamp)
at Duplicati.Library.Main.Database.LocalBackupDatabase.AppendFilesFromPreviousSetWithPredicate(IDbTransaction transaction, Func`3 exclusionPredicate)
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.<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()
I have tried to enable logging hoping it will tell me in the logs but it’s not showing me any extra information:
"C:\Program Files\Duplicati 2\Duplicati.CommandLine.exe" backup "s3s://mybucket/?s3-server-name=s3.wasabisys.com&s3-location-constraint=&s3-storage-class=&auth-username=XXXXXX&auth-password=XXXXXX "C:\Users\administrator\\" "D:\Multimedia\Books\\" "D:\Multimedia\Music\\" "D:\Multimedia\Photos\\" --send-mail-url=smtp://mail.mydomain.com:25 --send-mail-from="machinename@mydomain.com" --send-mail-level=all --send-mail-to="myname@mydomain.com" --snapshot-policy=On --send-mail-subject="Duplicati %OPERATIONNAME% report for %backup-name% [%PARSEDRESULT%]" --usn-policy=On --backup-name="Wasabi Backup" --dbpath="C:\WINDOWS\system32\config\systemprofile\AppData\Local\Duplicati\SRUWJAURIA.sqlite" --encryption-module=aes --compression-module=zip --dblock-size=50mb --passphrase=XXXXXX --retention-policy="1W:1D,1M:1W,3Y:1M" --log-file-log-level=Profiling --console-log-level=Profiling --debug-output=true --disable-module=console-password-input
Except for hiding private info the above is the exported backup job as it is now. What should I be using to get the information?