Your regular expressions included these path… “Includi espressione” means “include these path in the dataset” despite of the filed “filtri”. If you want to exclude these path to backup job edit the expressions and turn ‘+’ in ‘-’ It should work.
My goal is to backup desktop folders, documents, favorites, google drives, etc., but not all users have the onedrive or thunderbird folder … for this reason I use filters.
Moreover this picture showes that I have enabled snapshot to avoid any error during backup of used files like word, outlook or any other software (I have installed Duplicati like a service):
I want to specify that the error is appeared only in this server (I have many installation of Windows 7,10, Server 2008R2 and Server 2012R2) but this is my first Windows Server 2016 and this is the first time I have met this problem.
With multiple servers and problems, references like “this server”, “the error” and “this problem” are confusing. If you’re talking about “uploading from the wrong directories”, after exclude was added:
In the special case that all rules are include rules (which does not make sense when all files and folders are included per default) Duplicati assumes that all other files and folders are meant to be excluded (this had to be defined as another rule in Duplicati 1.3 but most people found that confusing so we changed that in Duplicati 2.0).
might be the explanation, but it would depend on what’s checked on the source tree. If it’s C:\Users\ shown on the later screenshot (is this the same system that used to have Exclude?), it’s more likely.
My guess is that the goal is to include certain desired folders from user profiles, ignoring any others, however cache exclude caused the “special case” above to end, so all of C:\Users\ flowed right in…
I was wondering what Duplicati actually got told. Now we see it, but which issue remains is not clear…
Single-user would be easy. Just check the folders you want. Multi-user needs include and exclude, so requires understanding filters better than web UI might lead one to think. It seems a complicated area which maps closely to the internal representations, e.g. the convention of a folder ending with a slash.
In the small amount I played, it was very hard to say something like “Documents folder and subfolders, but don’t get tricked if someone makes a folder called Documents_and_more – also exclude that one”.
I wound up with a regular expression using the ? operator to handle the subfolders-are-fine problem… Perhaps you’re better with filter stuff? I just use checkboxes (and VSS) so don’t need to use the filters.
Sorry for missing that.
It is possible to run as a service using a regular (non administrative) account. Can you confirm that you are running the service using LocalSystem or an Administrator level account?
At this point I suspect that the problem is related to the operating system; in the past it had happened that I could not access some files and only after correcting the file system with the chkdsk command I was able to make a backup without errors or warnings …
Hi ts768, it’s exactly what I want: I have indicated that I want to copy all the contents of the C:\Users folder and I have also added filters to indicate what I want to copy …In reality, the Duplicati software should not even enter in that folder …
Yep, it looks good to me. Although you can confirm for certain by looking in Task Manager. On the Details tab you can add columns for “Elevated” and “UAC”. Here’s what my Duplicati looks like when it is running with elevated rights:
Used includes for subfolders of that (which does not make sense, so got special case above).
Removed the special case with the new exclude, thereby reverting to plan 1 with all C:\Users\
Above is as documented, but I’m having difficulties getting other things to match the documentation.
Maybe someone who has used filters more can assist. I find them far from ideal of “do what I mean” however it would be nice if documentation and reality were closer. The possibility of bugs exists too.
If we’re working on the question above where adding the CacheFiles exclude brought Downloads in, theory from me is above, and is the original checkmarked C:\Users\ request seen later did as asked. Rephrasing that remark, perhaps new exclude is overriding special case of exclude-unless-included.
Unfortunately it is not the solution I was looking for, but I had to give a solution to my client … and for the moment it’s okay … If this is a bug in Duplicati software, how can I communicate it to programmers?
GitHub Issues page is where to file bugs, however you need to make a case that it’s a bug.
Backing up C:\Users\ when you told it to AND used an --exclude is documented behavior.
Some of the stuff that I saw didn’t seem to match the documentation. Feel free to explore…