View Source

Excluding files/folders means ignoring the selected files/folders during replication (backup).

{info:title=Tip}File Exclude feature can be enabled/disabled for the Volume ("Limits" tab of Volume properties window). Read more in [ServerBackup:Create volumes in DCC].
{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 [Create policies in DCC] and [Edit policies in DCC].

2. Select the "File Excludes" tab.

!176dcc.png!

3. Using the 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.

!Edit Policy window_File Excludes_folder selected_English.png!
* To go to the parent folder, click on "Up."

!Edit Policy window_File Excludes_Up button_English.png!
* To go to the desired folder, manually type the path into the address bar and click "Go."

!Edit Policy window_File Excludes_Go button_English.png!
* To find out the current path, see the address bar.

!Edit Policy window_File Excludes_Location_English.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.

!Edit Policy_File Excludes_Items per page selected_English.png!
* To navigate by pages, click on the arrow icons or type a page number into the appropriate field.

!Edit Policy_File Excludes_page number selected_English.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.

!Edit Policy window_File Excludes_files selected_English.png!

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

!Edit Policy window_File Excludes_files selected_Save button_English.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}
/*.avi
{code}
!Edit Policy_Advanced Excludes tab_Pattern_English.png!

{note:title=Notice}
Advanced exclude patterns must reference a Device in the Disk Safe, and begin with an absolute path, for example {{C:*.txt}} or {{\*.log}}.
{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.

!Edit Policy_Advanced Excludes tab_Recursive checkbox_English.png!

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

!Edit Policy_Advanced Excludes tab_Add button_English.png!

5. Add as many masks as you need.

!Edit Policy_Advanced Excludes tab_2 Patterns added_English.png!

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

!Edit Policy_Advanced Excludes tab_Pattern edition_English.png!
* To delete an item from the list, click on the "Delete" icon in front of the pattern item.

!Edit Policy_Advanced Excludes tab_Pattern_Delete icon_English.png!{info}
6. Click on "Save" at the bottom of the window.

!Edit Policy_Advanced Excludes tab_Pattern_Save button_English.png!
{excerpt:hidden=true}Instructions on how to exclude file(s)/folder(s) from the replication in Data Center Console.{excerpt}