Skip to main content

File filters

Thread needs solution
Beginner
Posts: 5
Comments: 7

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

0 Users found this helpful
Acronis Program Manager
Posts: 22
Comments: 3100

Hi Pierre,

I'm afraid that the only way to exclude multiple \Temp\ folders contents is by adding each of them individually into file filters settings - I've tried some other variants (*\temp\*, \temp\*) and they don't seem to work.

Thank you.

Regular Poster
Posts: 29
Comments: 337

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.

Beginner
Posts: 5
Comments: 7

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

Beginner
Posts: 5
Comments: 7

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

Regular Poster
Posts: 29
Comments: 337

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.