View Source

Excluding files/folders means ignoring the selected files/folders during replication (backup). See also: [About File and Folder Excludes|].

{info:title=Tip}File Exclude feature can be enabled/disabled for the Volume ("Limits" tab of Volume properties window). Read more in [Creating Volumes].

{info:title=Note}The Excluded Files and Folders and Advanced Excluding Rules are communicated to the CDP Agent at the beginning of every replication.
Follow the instructions below to select file(s) and folder(s) not to be replicated by the Policy.
{info:title=Note}By default, all file(s)/folder(s) located on a Device are replicated.
{info:title=Note}In the "Policy Settings" tab, there is an option to exclude All Volume Shadow Copy Writers.
1. Access the "Create New Policy" or "Edit Policy" window. See [Creating Policies] and [Editing Policies].

2. Select the "File Excludes" tab.
|| Standard, Advanced Edition | !editt.png! ||
|| Enterprise Edition | !edit_policy_ent_edition.png! ||
3. Using the CDP Server Web Interface, browse the files and folders on the Agent's hard disk.
{info:title=Tips}The built-in file browser functions like Windows Explorer.
* To open a folder, double-click it.

* To go to the parent folder, click on "Up."

* To go to the desired folder, manually type the path into the address bar and click "Go."

* To find out the current path, see the address bar.

* To change the number of items per page, type a value in the appropriate field. Currently, the maximum number of items per page is 25.

* To navigate by pages, click on the arrow icons or type a page number into the appropriate field.

* *Path*
* *Size*
* *Access Time*
* *Modify Time*

4. Select checkboxes next to the files and folders you want to exclude from the replication.


{info:title=Tip}You can add rules to exclude files by pattern. For example, {color:blue}\*.logs{color} or {color:blue}\*.mp3{color}. See [Advanced Excludes|#advanced] below.
5. Click on "Save" at the bottom of the window.


The selected files and folders will be ignored by the Policy. Files and folders that are not selected will be considered by the Policy.

h5. Advanced Excludes {anchor:advanced}

Follow the instructions below to define a pattern (mask) to exclude files from the replication. Using patterns, you can exclude files of certain type, for example, files which have .avi extension.

1. In the "Create New Policy" or "Edit Policy" window, select the "Advanced Excludes" tab.

2. Define a file mask in the "Pattern" field. Example:


{note:title=Notice}Advanced exclude patterns must reference a Device in the Disk Safe, and begin with an absolute path, e.g. '{color:blue}C:*.txt{color}' or '{color:blue}/*.log{color}'
3. Optionally check the "Recursive" option to ignore files from sub-folders on the basis of the specified pattern. If the "Recursive" option is checked, the exclude rule will be applied not only to the root folder files, but also to the files from sub-folders.


4. Click "Add." The pattern will appear in the list.


5. Add as many masks as you need.


* To start editing a pattern, click on the item in the list.


* To delete an item from the list, click on the "Delete" icon in front of the pattern item. 


6. Click on "Save" at the bottom of the window.

{excerpt:hidden=true}Instructions on how to exclude file(s)/folder(s) from the replication in CDP.{excerpt}