Backup Filter is a set of user defined criteria to include or exclude directories and files as backup source of a backup set.
There are some basic rules regarding backup filters:
- Filters are applied in creation order.
- Inclusion or exclusion made by filter takes precedence over backup source selections. To add a new filter, press the [Add] button at the bottom of the right panel.
To navigate to create a New Backup Filter, open up ServosityPro. Select the Backup Sets tile and then select the backup set you would like to work on. In the left-hand menu, select Source. Select the add button under "Existing Filters".
Example 1:
To backup only Word, Excel and PowerPoint documents in the document
directory (e.g. C:\My Documents), setup the backup filter as follows:
Top Directory = C:\My Documents
Apply To = File (true)
Matching Type = End With
Matching Patterns = *.doc, *.xls, *.ppt
Filter Mode = Include
Exclude all others = True
Example 2:
To backup all files, excluding all *.exe, *.dll and *.tmp, in C:\Application, setup
the backup filter as follows.
Top Directory = C:\Applications
Apply To = File (true)
Matching Type = End With
Matching Patterns = *.exe, *.dll, *.tmp
Filter Mode = Exclude
Include all others = True
Example 3:
If C:\ was selected as backup source, to exclude all images (e.g. *.jpg and
*.gif) from the backup source selection, setup the backup filter as follows.
Top Directory = C:\
Apply to = File (true)
Matching Type = End With
Matching Patterns = *.jpg, *.gif
Filter Mode = Exclude
Include all others = false
Note that the [Include all others] setting is not enabled because it is not
necessary to include all other file types under C:\ into the backup set.
Example 4:
To include everything, except the log directory, under C:\Applications, setup
the backup filter as follows.
Top Directory = C:\Applications
Apply To = Directory (true)
Matching Type = Regular Expression
Matching Patterns = ^log$
Filter Mode = Exclude
Include all others = True
Example 5:
To include all directories named log from the backup set files with file name
starting with B and ending with *.doc under C:\My Documents, the filter
backup can be setup as follows.
Top Directory = C:\My Documents
Apply To = File (true)
Matching Type = Regular Expression
Matching Patterns = ^B.*\.doc$
Filter Mode = Include
Exclude all others = True