User Guide Home   >   Client Advanced Features   >   Selection Filters



Selection Filters

Selection filters allow users to include and/or exclude files from a backup run. To use selection filters you must be using Syncrify 1.4 or above.



Two Types of Filters

There are two types of filters:



This page discusses the Client Side filters. See Server Configuration for more information about Server Side filters.





How to Enable Selection Filters on the Client Side

lightbulb

Selection filters can only be specified to a top-level folder, but are applied to the entire folder tree.




Rules for Specifying Filters



Examples

Example 1 - Backing up only images


*.jpg|*.gif|*.png|*.bmp

This will cause Syncrify to backup only image files. Other files in the folder will be skipped.


Example 2 - Exclusion filter


^*.tmp|^*.bak|^*.cvs|^\$RECYCLE.BIN/

This will copy every file but *.tmp, *.bak, and *.cvs. The last token will exclude a folder called $RECYCLE.BIN. An important information to keep in mind is that a $ is a reserved character. Therefore, you must escape it with a back-slash. Other reserved characters are %, [, ], (, ),{, }, +



Example 3 - Exclude folders beginning with a DOT.


^.*/

This will exclude folders like .profile, .cvs, etc.