You can add or edit a policy rule or a rule exception in a policy. A rule defines directories or files that are not protected, and a rule exception defines entities within the scope of the rule that are protected.

About this task

When you formulate policy rules, you can use macros to assist specification of various Mirage directory paths addressed by the rules. For example, macros allow Mirage and the administrator to handle cases when some endpoints have Windows in c:\windows and some in d:\windows. Using macros and environment variables makes sure Mirage backups important files regardless of their specific location. For information about the macro specifications, see Macros in Upload Policy Rules.


  1. In the Mirage Management console, expand the System Configuration node, select CVD Policies , and double-click the required upload policy.
  2. Click Add or Edit next to the required Rule or Rule Exception area.
  3. Type the directory path or select it from the drop-down menu.

    Do not type a backslash (\) at the end of the path.

  4. Specify a filter for this directory or a pattern for matching files under this directory.

    For example, to add a rule not to protect Windows search index files for all the users on the desktop, add the following rule:

    %anyuserprofile%\Application Data\Microsoft\Search\*
  5. Click OK.