Anybody that has a good filter set for windows 11?

Looking at the whole Filters article would be good, although it speaks mostly to what you see from the Edit as text view. I think there’s nothing that gets into details of how to work with GUI’s filter builder.

If you look at what comes from Exclude file, it seems to expect you to provide the complete file path. Looking at Exclude files whose names contain is closer, and doesn’t make you give specific path.
Exclude expression also seems to want you to give it the expression similarly to Exclude file, but from a terminology point of view it might be looking for a wildcard or regular expression to be provided.

Wildcard term is characters like * that you might have used on a command line. A ? is also acceptable.

If you want to use file globbing to specify rules, ? and * are allowed placeholders. ? matches any single character. * specifies none or multiple characters. For example, *.txt would specify all .txt files.

If you’re very used to this concept on command lines, you’ll get surprised that * crosses folder slashes.

On a command line, globbbing (a.k.a. wildcards) can be used in different context, e.g. don’t have to be from the drive letter (or other root). It works with the form you use. In Duplicati, everything is a full path, partly because relative paths would need a current directory to be relative to, but that’s not easily done.

Regular expressions are harder than wildcards, and probably best reserved for more complicated uses.

One way to handle this might to do your list as Exclude file filters, but repeats can use wildcards like *\parent.lock in Exclude expression. Checking Edit as text view against Filters syntax helps.

You can also solve all your locked file issues with snapshot-policy using Windows VSS, but the catch is having to run in an elevated Administrator group account. Setting up a Windows service will also work, however it’s a manual setup that’s a bit complicated, especially if not done initially. Directions found at:

Migrating from User to Service install on Windows

The somewhat older video below shows the basics of how to do an initial install as a Windows service:

Duplicati Tutorial 02 Install Duplicati as a Service

Ahaaaaaa! That is interesting I hadn’t understood that, I just tried, and now I’m down to 3 warnings :slight_smile:
I’ve set it up as a service already, only thing is, I apparently have to include the path to the config in the icon, which is odd (found that in another thread).
I’ve worked with regular expressions previously, but it was probably about 20 years ago, so the knowledge isn’t really fresh in mind, I think I’ll stick to the regular syntax…
I hadn’t noticed the paragraph about it being possible to ‘visualize’ the filters in the top selector, that is a great help I think, and I’m trying to create filters that will hit the required folders and files.

Then you just need to turn on VSS (which does add a startup delay). Or keep on filtering, if you prefer.

Creating a new backup job describes that briefly. You can also add your filters with clicking there:

Under Filters you can specify what you want to be excluded from the backup. If you deselected one or more files or folders in the file picker (marked with a red cross), they show up in the list under Filters. You can specify more exclusions based on file- or folder name, specific files or folders or even using a Regular Expression.

1 Like

Thankyou @ts678 I finally got a ‘green’ backup, now my OCD can rest :laughing:

1 Like

Firefox 123.0.1 is out with several fixes. It solves my simpler test case for the weird filter GUI issues.

1 Like

@ts678 I just tried pasting the big filter selection in, and it works again :slight_smile:

1 Like