Inconsistant error on excluded file

I have this in my filters:


My backup runs every 3 hours, but about once every 24 hours, it throws this:
1
Is this a bug, or am I missing something?

Please look at that file in Explorer. Is its time constantly changing?
For an even better look, right-click → Properties → check Created.

Powerchute 3.0 and dataserv.exe (see “created and deleted” note)

Yes, it is changing all the time, but when I added it to the “Exclude File”, why does Duplicati still try to make a backup?

This should be confirmed by a developer, but it appears Exclude is after tests expecting a file:

AttributeFilter is sort of a misnomer, as it filters for many things. It does path exclude late:

says it already has had to get attributes in advance of the filter. Path exclude is here, but late:

I’m not sure of exact code it runs from the file enumeration to the filter, but it’s probably below:

This is probably quite a timing-sensitive error, which you’re able to hit due to rapid file cycling.
Presumably the file showed up in a directory listing then it went away before attribute reading.

Maybe we will get a developer comment, but this probably deserves a new GitHub issue on it.

Wow, you lost me with all that code, but you are probably right :confused: :wink:

The code was mainly to see if any developer has an opinion on the issue and a possible fix.

There might be a reason why the tests are ordered as they are – or maybe it’s just arbitrary.

For a workaround, you can use snapshot-policy to keep the view from changing underneath.

Possibly a simpler path is to exclude the PowerChute folder then include specific files inside.

You might need to look at file dates to guess what’s from the install, versus what’s your data.