Issue

If a File System backup set includes a number of folders, but requires to back up some specific folder within a specific rule, we can add an RegEx record to point a specific source folder.

Summary

Following folder examples:

E:\folder101\folder201\*

E:\folder101\folder202\*

E:\folder101\folder203\*

E:\folder102\folder201\*

E:\folder102\folder202\*

E:\folder102\folder203\*

E:\folder103\folder201\*

E:\folder103\folder204\{any folder name in this location}\folder555\*


1. To include content of the following folders: E:\folder101\folder201\* and E:\folder101\folder203\* . But exclude all the rest folders, which can be on E:$ drive. In this case, we have to create a RegEx with the following customization records:

E:\folder101\*

REGEX: (Inclusion, Case sensitive, Match files and directories) E: - \\folder101\\(folder201|folder203)\\.*


2. To include content of the folder "..\folder555\*", we can use the following customization records:

E:\folder103\folder204\*

REGEX: (Inclusion, Case sensitive, Match files and directories) E: - \\folder103\\folder204\\.*\\folder555\\.*


3. If we need to include a content of the following folders E:\folder101\folder201\* , E:\folder101\folder203\* and E:\folder103\folder204\{any folder name in this location}\folder555\* , we have to use two RegEx entries for the selection customisation:

E:\folder101\*

E:\folder103\folder204\*

REGEX: (Inclusion, Case sensitive, Match files and directories) E: - \\folder101\\(folder201|folder203)\\.*

REGEX: (Inclusion, Case sensitive, Match files and directories) E: - \\folder103\\folder204\\.*\\folder555\\.*


Note: please be careful with characters in front of REGEX key. The char "~" means "exclusion" from the rules behind REGEX key.

For instance:

~REGEX: (Inclusion, Case sensitive, Match files and directories) E: - \\folder101\\(folder201|folder203)\\.* means exclude these rules from the backup set selection.