Interpreting File Selection Rules

The following examples illustrate how LiveVault Online Backup Service interprets file selection rules, qualifying files for backup or restore. Each example shows the complete rule list for a single backup configuration.

Example 1

When this rule list is applied, all files in the C:\ top-level directory will be backed up.

Type/Subdirectories Path Rule behavior
Include C:\* Include all files from the C:\ top-level directory

Example 2

When the following rule list is applied, all files from the C:\ top-level directory and in all subdirectories of C:\ will be backed up.

Type/Subdirectories Path Rule behavior
Include/Sub C:\* Include all files from the C:\ top-level directory and from all subdirectories on C:\.

Example 3

When the following rule list is applied, all files from the C:\ top-level directory and in all subdirectories of C:\ will be backed up except for the TEMP directory, files in the TEMP directory, and files in subdirectories of the TEMP directory.

Type/Subdirectories Path Rule behavior
Include/Sub C:\* Include all files from the C:\ top-level directory and from all subdirectories on C:
Exclude/Sub C:\TEMP\* Exclude the TEMP directory, all files in the TEMP directory, and all files in subdirectories of the TEMP directory.

Example 4

When the following rule list is applied, all files from the C:\ top-level directory and in all subdirectories of C:\, as well as all files with the DAT extension in the TEMP directory, will be backed up. However, all files without the DAT extension in the TEMP directory, and all files in subdirectories of the TEMP directory will not be backed up.

Type/Subdirectories Path Rule behavior
Include/Sub C:\* Include all files from the C:\ top-level directory and from all subdirectories on C:
Exclude/Sub C:\TEMP\* Exclude the TEMP directory, all files in the TEMP directory, and all files in subdirectories of the TEMP directory.
Include C:\TEMP\*.DAT Include all files with the DAT extension in the TEMP directory.

Example 5

Compare the result of the preceding rule list with this next example. When the following rule list is applied, all files from the C:\ top-level directory and in all subdirectories of C:\ are backed up. However, all files in the TEMP directory and subdirectories of the TEMP directory are excluded. The last exclude rule overrides the previous include rule.

Type/Subdirectories Path Rule behavior
Include/Sub C:\* Include all files from the C:\ top-level directory and from all subdirectories on C:
Include C:\TEMP\*.DAT Include all files with the DAT extension in the TEMP directory.
Exclude/Sub C:\TEMP\* Exclude the TEMP directory, all files in the TEMP directory, and all files in subdirectories of the TEMP directory.

Related Information

Understanding File Selection Rules
Using Wildcards
Manually Defining Backup File Selection Rules
Manually Defining Restore File Selection Rules