- Duplicati was running as a “System Account”.
- The “snapshot policy” has been set to “required” earlier. So my logfile shows was created with this method enabled.
Trying to run the backup once again, it fails immediately because of the errors.
So, I turned the snapshot policy off and hit “run”, and dulicati started to transfer files again. See report below.
Btw: I started to exclude folders containing files that cause troubles already some weeks ago. Some examples:
AppData\Local\Duplicati
AppData\Local\Dropbox
%APPDATA%\Dropbox\installer
%MY_DOCUMENTS%\Dropbox\Dropbox\www.dropbox.com (1).url
%MY_DOCUMENTS%\Dropbox\Dropbox.dropbox.cache
Logfile from last run:
2019-01-23 21:41:24 +01 - [Error-Duplicati.Library.Main.Database.LocalBackupDatabase-CheckingErrorsForIssue1400]: Checking errors, related to #1400. Unexpected result count: 0, expected 1, hash: 2ptO71K4wiSGsbv4jG6ygooDLd3ZPs9drg6VwbeiH2w=, size: 94792, blocksetid: 141701, ix: 190, fullhash: bCHbKEHrXaSUNqmESFM9EH9qT2M7n0EOblQE4D02gjU=, fullsize: 19550792 2019-01-23 21:41:24 +01 - [Error-Duplicati.Library.Main.Database.LocalBackupDatabase-FoundIssue1400Error]: Found block with ID 1671079 and hash 2ptO71K4wiSGsbv4jG6ygooDLd3ZPs9drg6VwbeiH2w= and size 90688 2019-01-23 21:41:24 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\AppData\Local\Duplicati\78687874907066698382.sqlite-journal System.Exception: Unexpected result count: 0, expected 1, check log for more messages at Duplicati.Library.Main.Database.LocalBackupDatabase.AddBlockset(String filehash, Int64 size, Int32 blocksize, IEnumerable
1 hashes, IEnumerable1 blocklistHashes, Int64& blocksetid, IDbTransaction transaction) at Duplicati.Library.Main.Operation.Backup.BackupDatabase.<>c__DisplayClass13_0.<AddBlocksetAsync>b__0() at Duplicati.Library.Main.Operation.Common.SingleRunner.<>c__DisplayClass4_0
1.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.d__21.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.StreamBlockSplitter.<>c__DisplayClass2_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 Duplicati.Library.Main.Operation.Backup.StreamBlock.<ProcessStream>d__5.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.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:24 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\AppData\Local\Duplicati\control_dir_v2\lock_v2 System.IO.IOException: The process cannot access the file 'C:\Users\XXX\AppData\Local\Duplicati\control_dir_v2\lock_v2' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:52 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Templates - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Templates - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:52 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\RD - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\RD - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:52 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\QAQC - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\QAQC - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:52 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Projects - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Projects - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Personnel - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Personnel - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Marketing - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Marketing - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Management - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Management - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\IT - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\IT - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Inventory - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Inventory - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\HSSE - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\HSSE - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Economy - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Economy - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Contacts - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Contacts - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:41:53 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Admin - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\Documents\YYY\Sharepoint\SharePoint\Admin - Documents\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() 2019-01-23 21:42:23 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: C:\Users\XXX\OneDrive - YYY\.849C9593-D756-4E56-8D6E-42412F2A707B System.IO.IOException: The process cannot access the file 'C:\Users\XXX\OneDrive - YYY\.849C9593-D756-4E56-8D6E-42412F2A707B' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path) at Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext()
Why do I get warnings for a folder that is excluded? I’m refering to the Appdata=> Duplicati folder…