How Agents process backup policy rules

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

  1. The Agent uses the scope options of the effective policy to determine which drives, volumes, or folders to skip. Drives, volumes, and folders skipped by administrative backup policy take precedence over all other types of rules.

    The effective policy identifies the actual rules that apply to a user. Connected calculates the effective policy by applying group-level overrides, if any, to the corporate policy. Scope options defined in group-level policies override corporate scope options.

  2. The Agent compares files not skipped by scope options to the effective 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 order in which you arrange rules in a policy determines rule precedence. The first rule in the locked or unlocked list has highest priority and the last rule has the least. Therefore, when creating rules, it is important to arrange your rules in the order that you want Agents to apply them. 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. Therefore, if you do not want users to backup certain files based on location, name, or file type, create a locked rule to exclude those files.