View Source

{info:title=Tip}You can see the date and time when the Policy was edited in the Last Edited On column in the Policies list.
{info}
Follow the instructions below to edit a Policy in CDP.

1. Click on Policy in the Main Menu to access the Policies page.
|| Standard Edition || Enterprise Edition || Advanced Edition ||
| !pol-st.png! | !main-menu-ent.png! | !main-menu-pola.png! |
2. Find the necessary Policy in the Policies list and click on the Edit icon in the Actions column for this Policy.

!edit-ent1.png!
{info:title=Tip}To find a Policy, you can use the Basic and Advanced List Filters. See [CDP3:Customizing the Policies List].
{info}
{info:title=Note}You can also use the Bulk Edit function. See [Bulk Editing|#bulk] below.
{info}
3. The Edit Policy window will open.
!hid2.png!

The following tabs are available for editing:

----
{toc:location=top|maxLevel=5|minLevel=5|type=flat|separator=pipe|style=border:1}

----
h5. Policy Settings Tab

!pl1.png!

This tab allows you to change the following settings:
* *Name*
* *Description*
* *Agent* ({color:#fd4703}{*}Enterprise Edition{*}{color})
* *Disk Safe*
* *Replication Schedule*
* *Merge Schedule*

The options are described in [cdp3:Creating Policies].

h5. Data Retention Tab

!pl2.png!
This tab allows you to set the Retention rules and define the Archiving Schedule.
See [cdp3:Defining the Archive Schedule].

h5. File Excludes Tab

!pl3.png!
This tab allows you to select the files you want to include or exclude from the Replication.
See [CDP3:Excluding Files and Folders].

h5. Advanced Excludes Tab

!pl4.png!
This tab allows you to define patterns according to which the files will be excluded from the Replication.
See [CDP3:Excluding Files and Folders].

h5. Databases Tab

!pl5.png!
This tab allows you to add a MySQL instance to the Policy.
See [cdp3:Adding MySQL Instance to the Policy].

h5. Control Panels Tab

!pl6.png!
This tab allows you to add a Hosting Control Panel instance to the Policy.
See [cdp3:Adding Control Panel Instances].

h5. Advanced Policy Settings Tab

!pl7.png!
This tab allows you to change advanced Policy settings.
See [cdp3:Creating Policies].

4. Click on "Save" at the bottom of the window to apply the changes.
!save-policy.png!

5. The changed options will be shown in the Policies list.

h4. Bulk Editing{anchor:bulk}

Using the Bulk Editing, you can edit multiple Policies at once. The same values will be set for all selected items. You can use the bulk editing even if the Policies have different properties. Follow the instructions below to edit several Policies at once.

1. Select several Policies by selecting the checkboxes in the first column in the "Policies" list and click "Bulk Edit."

!poll.png!

2. The "Bulk Edit" window opens.

!poll2.png!

The following parameters can be edited:

*Scheduling*
* *Replication Schedule* \- This option allows you to set the replication schedule. See [Editing Replication Schedule|#ed1] below.
* *Merge Schedule* \- This option allows you to set the merge schedule. See [Editing Merge Schedule|#ed2] below.

*Recovery Point Retention*
* *Recovery Point Limit* \- Enter a value to the field to define the Recovery Points Limit according to the Volume's Maximum Allowed Archive Retention. When the number of created Recovery Points exceeds the limit, they will be merged. For more information, refer to [CDP3:Merging Recovery Points].

*Archive Point Retention*
* *Archiving Schedule* \- This option allows you to set the archiving schedule.
Here you can select the following variants from the drop-down menu:
** Add New Schedule - Creates a new archiving schedule. Several different schedules (e.g. hourly, daily, weekly) can be applied at the same time.
** Replace Existing Schedule - Replaces existing schedules with created ones.
** Remove All Schedules - Removes all schedules.
!arch.png!

For more information about Archiving schedules, refer to [CDP3:Defining the Archive Schedule].

*Advanced Policy Settings*
* *Force Full Block Scan* \- A Full Block Scan compares the MD5 sum of all allocated blocks to perform the backup and get CDP back in synchronization. Enable this option to start a Full Block Scan each time the replication is performed.

3. Click "Edit" to apply the changes to all selected Policies at once.

!poll3.png!

4. If all Policies were edited successfully, the following indicator will appear:

!poll4.png!

5. The changed options will be shown in the "Policies" list.

!poll5.png!

h4. Editing Replication Schedule{anchor:ed1}

1. To start editing Replication Schedule, select the corresponding checkbox and click "Edit Schedule."
!qa1.png!

2. Select the replication frequency from the drop-down menu.
!qa2.png!
The following options are available:
* *On Demand*
* *Minutely*
* *Hourly*
* *Daily*
* *Weekly*
* *Monthly*
* *Yearly*

You can find the detailed description of replication frequencies [here|CDP3:Scheduling the Recovery Points Replication].

3. Specify the exact time of the Replication and click "OK."
!qa3.png!

4. The schedule is defined (the indicator turns green). Click "Edit" to save the changes.
!qa4.png!

h4. Editing Merge Schedule{anchor:ed2}

1. To start editing Merge Schedule, select the corresponding checkbox and click "Edit Schedule."
!qa5.png!

2. Select the merge frequency from the drop-down menu.
!qa6.png!

The following options are available:
* *After successful replication*
* *Hourly*
* *Daily*
* *Weekly*

You can find the detailed description of merge frequencies [here|CDP3:Scheduling the Recovery Points Merge].

3. Specify the exact time of the Merge and click "OK."
!qa7.png!

4. The schedule is defined (the indicator turns green). Click "Edit" to save the changes.
!qa8.png!

You can also edit Policies using the "Policies" tab of the Agent "Details" Pane. This screen provides the same functionality as the main "Policies" screen. See more information in [CDP3:Accessing Agents].{excerpt:hidden=true}Instructions on how to change properties of Data Protection Policies in CDP.{excerpt}