File filters
Hello,
In a "File/Folders" backup, is there a way to define directory exclude filters based on the directory name, not the full path?
For example, I would like to exclude all directories named "temp" on drive C: (C:\temp, c:\Windows\temp, etc.).
I tryied "temp\", "\temp\", "*\temp", "c:\*\temp", "c:\*temp\" whith no luck.
Best regards,
Pierre

- Se connecter pour poster des commentaires

Hi,
Should "*\temp" do the trick?
Have tested this to backup a VM (Windows XP) using file filters in backup plan options.
Edit: It seems to work for root-folders only, like C:\Temp\, not for C:\Windows\Temp\.
Edit2: Each "Temp" Folder will be excluded using filter "*temp*", this will exclude files having same syntax also.
- Se connecter pour poster des commentaires

Thank you both.
I tryied the "*temp*" form too and it excludes everything containing "temp" (files and folders). This is too rought for me because is will exclude many things in this case.
I understand there is no easy way to do this, even if it is a bit surprising in such a product.
Best regards,
Pierre
- Se connecter pour poster des commentaires

By the way, while I'm on filters: this is not described in the doc but it looks like we can specify multiple extension filters on a single criterium separating them with a comma ",". For example "*.bat,*.cmd" excludes all .bat and .cmd files.
Best regards,
Pierre
- Se connecter pour poster des commentaires

Pierre, thanks for your info.
Another way to cleanup the temp files/directories could be done using a pre-command script. This could be an advantage for backing up less data amount and still having a full backup.
See Pre-/Post-Commands for reference.
- Se connecter pour poster des commentaires