View Source

Excluding files/folders means ignoring the selected files/folders during replication (backup). See also: [About File and Folder Excludes|http://wiki.r1soft.com/display/CDP3/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}

{info:title=Note}The Excluded Files and Folders and Advanced Excluding Rules are communicated to the CDP Agent at the beginning of every replication.
{info}
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}
{info:title=Note}In the "Policy Settings" tab, there is an option to exclude All Volume Shadow Copy Writers.
{info}
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.

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

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

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

!excludeAdrs.png!
* 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.

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

!ExcludeCommand1.png!
{info}
Columns:
* *Path*
* *Size*
* *Access Time*
* *Modify Time*

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

!exclude1.png!

{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.
{info}
5. Click on "Save" at the bottom of the window.

!exclude2.png!

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:
{code}
d:\*.avi
{code}

!AdvExcl1.png!

{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}'
{note}
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.

!AdvExcl2.png!

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

!AdvExcl3.png!

5. Add as many masks as you need.

!AdvExcl4.png!

{info:title=Tips}
* To start editing a pattern, click on the item in the list.

!AdvExcl5.png!

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

!AdvExcl6.png!

{info}
6. Click on "Save" at the bottom of the window.

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