I’ve found with 2.0.3.5, it is ignoring entries in exclude-files-attributes, when certain folders/files is set to any of the options (or it may be ignoring certain options for some reason).
-edit- Although I suspect that the issue may be since this is a folder and not a file, I am not aware of a setting for “exclude-folder-attributes”, although the settings should cover both folders and files… -end edit-
For example on one of the mapped network drives I have Duplicati set to backup, there is the folder “System Volume Information” which is System, Hidden, and ReadOnly. I have exclude-files-attributes (under Settings so it is supposed to use it for all backups) set to “Hidden, System, Temporary” yet every day the warnings/errors still pop up:
Warnings:
[
2018-06-05 19:12:12 -05 - [Warning-Duplicati.Library.Main.Operation.FilterHandler-FileAccessError]: Error reported while accessing file: T:\System Volume Information,
2018-06-05 19:12:13 -05 - [Warning-Duplicati.Library.Main.Operation.FilterHandler-FileAccessError]: Error reported while accessing file: T:\System Volume Information,
2018-06-05 19:18:33 -05 - [Warning-Duplicati.Library.Main.Operation.FilterHandler-FileAccessError]: Error reported while accessing file: T:\System Volume Information,
2018-06-05 19:18:33 -05 - [Warning-Duplicati.Library.Main.Operation.FilterHandler-FileAccessError]: Error reported while accessing file: T:\System Volume Information\
]
the full log shows:
2018-06-05 19:12:12 -05 - [Warning-Duplicati.Library.Main.Operation.FilterHandler-FileAccessError]: Error reported while accessing file: T:\System Volume Information
System.UnauthorizedAccessException: Access to the path ‘T:\System Volume Information’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator
1…ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption, Boolean checkHost)
at System.IO.Directory.InternalGetDirectories(String path, String searchPattern, SearchOption searchOption)
at Duplicati.Library.Snapshots.NoSnapshotWindows.ListFolders(String folder)
at Duplicati.Library.Utility.Utility.d__23.MoveNext()
This screenshot is taken from the server where the drive is hosted (and set with J:) so the Drive letter is different than the above logs (where the network share has it set as T: ). The properties are the same between both, it is seen as Hidden and Read Only even under the mapped network drive.