The filter has an "exclude all" rule

I got the following error on a backup run:

Warning while running Farmer2->nas

2026-10-22 13:41:52 -05 - [Warning-Duplicati.Library.Main.Operation.BackupHandler-FilterExcludesAll]: The filter has an “exclude all” rule that appears before any include rules. This is likely a misconfiguration; no files will be backed up. Please check the filter settings.

Couldn’t this be detected at configuration time?

It should be. The UI should show the same warning.

How did you configure the filters?

Somehow I had put in a exclude all * filter. The old 2.2 version wasn’t backing much up, and it wasn’t till I tried a test restore on 2.4 that I got that warning.

Probably a fault in 2.2’s GUI, but it wouldn’t hurt to try configuring it in 2.4’s GUI. Not sure I have the knowledge of Duplicati at this point to do this, not even sure how I did it in the first place.

It was a usability issue in 2.3 and older. When adding a new rule, it would add an “exclude all” rule by default, assuming you would edit it. If you forgot, nothing would be backed up.

For 2.4 we added a check that produces the warning you saw, as well as in the UI, and changed the default filter to exclude files named lock.