How Agents process backup policy rules

The Agent uses the following process to determine which files to back up:

  1. Drives, volumes, and folders skipped by administrative backup policy take precedence over all other types of rules.

  2. The Agent compares files not located in a skipped location to the policy's rules, in the following order:

    • Locked rules. One type of rule that administrators can create when defining a backup policy. Other types of rules cannot override locked rules.
    • User rules. Rules that Agents create automatically when users manually change which files are selected for backup. User-created rules override unlocked rules but not locked rules.
    • Unlocked rules. The other type of rule that administrators can create when defining a backup policy. Both locked and user-created rules override unlocked rules.

    The Agent starts by comparing a file to the set of locked rules. If a match occurs, the Agent either includes or excludes the file, depending on the rule definition. However, if the file does not match any locked rules, the Agent compares it to the set of user-created rules. If a match occurs, the Agent processes the file per the matching rule definition. Otherwise, the Agent tries to match the file to an unlocked rule.

  3. When comparing files to locked and unlocked rules, the Agent applies rules in top-down order.

    The first rule in the locked or unlocked list has highest priority and the last rule has the least. All user-created rules have the same priority; the order represents the order in which the user selected or removed items for backup, with the newest at the top.

    The Agent starts by comparing the file with the highest priority locked rule. If a match occurs, the Agent stops processing rules and determines whether to back up the file based on the rule's definition. Otherwise, if the rule does not match, the Agent continues comparing the file to the remaining locked rules, in decreasing priority order. If a match occurs, rule processing stops. If the Agent cannot match the file to a locked rule, it compares the file to user-created rules, and then to unlocked rules.

  4. If the Agent cannot match the file to any locked, user-created, or unlocked rule, it does not back up the file.

    Although the Agent does not back up files that it fails to match to a rule, the user can override this and manually select the file for backup.