Follow the instructions below to add a Data Protection [Policy|Policies] in Data Center Console.
1. Click on "Policy" in the Main Menu to open the "Policies" screen.
!main-menu-ent.png!
2. In the "Policy" menu, click on "Create New Policy."
!create-new-policya.png!
3. The "Create New Policy" window will open. It contains the following tabs:
* *Policy Settings*
* *Data Retention*
* *File Excludes*
* *Advanced Excludes*
* *Databases*
* *Control Panels*
* *Advanced Policy Settings*
!createpolicy.png!
{info:title=Note}Depending on the limits, defined for the Disk Safe to which the current Policy is assigned, some of the tabs might be disabled. See [Creating Disk Safes in Data Center Console]
!az.png!
{info}4. Define the following settings specific to the new Policy:
----
{toc:location=top|maxLevel=5|minLevel=5|type=flat|separator=pipe|style=border:1}
----
h5. Policy Settings Tab
This is the main tab for creating a Policy. The following options are available:
*Identification*
* *Enabled* \- Select this checkbox to enable the Policy. The Enabled Policy will run according to the schedule.
* *Name* \- Enter a name you can use to identify this Policy among others in the Policies list.
* *Description* \- Describe your Policy in details. The description can be shown in the Policies list in the corresponding column.
*Disk Safe*
* *Agent* \- From the drop-down menu, select an Agent for which data you are going to replicate. Then you will be able to select a Disk Safe assigned to the Agent.
* *Disk Safe* \- From the drop-down menu, select a Disk Safe in which to save the replicated data.
{info:title=Note}The Policy will replicate data from the Devices assigned to the selected Disk Safe.
{info}
*Scheduling*
* *Replication Schedule* \- Define the schedule and recurrence for the new Policy (On Demand, Minutely, Hourly, Daily, Weekly, Monthly, or Yearly).
{info:title=Note}The lowest possible replication frequency for all the Disk Safes assigned to Volume is defined in Volume properties (Volume properties window !arrow.gif! "Limits" tab "Options" section "Replication Limit" option).
{info}
* *Merge Schedule* \- Define the schedule and recurrence for the Recovery Points merge (After Replication, Hourly, Daily, Weekly).
h5. Data Retention Tab
On this tab, you can set the Recovery Points Limit for the Policy and create an Archiving Schedule.
!tab1.png!
{info:title=Note}The Recovery Point limit you set on this tab cannot be greater than the limit defined for the current Disk Safe. See [Creating Disk Safes in Data Center Console].
{info}
h5. File Excludes Tab
This tab allows you to manually exclude files and folders from the replication.
See [Excluding Files and Folders in Data Center Console].
!tab2.png!
h5. Advanced Excludes Tab
This tab allows you to define a pattern (mask) to exclude files from the replication.
See [Excluding Files and Folders in Data Center Console].
!tab3.png!
h5. Databases Tab
This tab allows you to include MySQL databases in the replication Policy.
See [Adding a MySQL Instance to a Policy in Data Center Console].
!tab4.png!
h5. Control Panels Tab
This tab allows you to add a Control Panel Instance to the Policy.
See [Adding Control Panel Instances in Data Center Console].
!tab5.png!
h5. Advanced Policy Settings Tab
* *Force Full Block Scan* \- Optionally check this option to mandate the start of a full block scan each time the replication is performed. If the option is not selected, then an automatic full block scan happens only under certain conditions. A full block scan compares the MD5 sum of all allocated blocks to perform the backup and get CDP back in synchronization.
* *Verify Checksums Server Side* \- Optionally enable this option to ensure that no data is lost during transporting. If this option is activated, then the Server side uncompresses, unencrypts if necessary and compares block packet MD5 with data sent from Agent. Verifying encrypted or unencrypted block checksums on the CDP Server allows you to triple check the integrity of a backup.
* *Exclude Known Disk Safes* - Optionally check this option to exclude the known Disk Safes from the replication to avoid backing up the same data twice.
* *Specify Backing File Location* (Linux only) - Optionally define a path which the mount point of a device should use to store changed blocks. This option is useful to support backups of devices with low free space. By default, the Linux snapshot driver stores changed blocks (needed to maintain snapshots) in the the free space of the file system on which it is performing a snapshot. When using a server with multiple disks, storing snapshots on a separate dedicated disk can help reduce the load during backup. The disk must have a file system and must be mounted.
{info:title=Example}Linux system:
|| Mount Point || Disk ||
| {{/dev/sda1}} | {{/boot}} |
| {{/dev/sda3}} | {{/}} |
| {{/dev/sda4}} | {{/var}} |
When {{/boot}} or {{/var}} is 99.99% full, the backups fail because there is no free space to maintain the snapshot.
\\
Once the user inputs "{{/}}" into the "Backing File Location" field, the {{/dev/sda3}} path will be used as the changed block storage location for all file systems.
{info}
!pol.png!
5. Click on "Create" in the bottom of the window to add the Policy to the "Policies" list.
!policy-create.png!
6. You will receive a notification that the creation of the Policy was successful. Click "OK."
!created-policy-notification.png!
7. The new Policy item appears in the "Policies" list. The properties are shown in the grid.
{info:title=Tip}Click on an item in the "Policies" list to see the Policy details in the bottom pane.
{info}
You can also create Policies using the "Policies" tab of the Agent "Details" Pane. This screen provides the same functionality as the main "Policies" screen.
{excerpt:hidden=true}Instructions on how to create a new Data Protection Policy and to define its options in CDP.{excerpt}
1. Click on "Policy" in the Main Menu to open the "Policies" screen.
!main-menu-ent.png!
2. In the "Policy" menu, click on "Create New Policy."
!create-new-policya.png!
3. The "Create New Policy" window will open. It contains the following tabs:
* *Policy Settings*
* *Data Retention*
* *File Excludes*
* *Advanced Excludes*
* *Databases*
* *Control Panels*
* *Advanced Policy Settings*
!createpolicy.png!
{info:title=Note}Depending on the limits, defined for the Disk Safe to which the current Policy is assigned, some of the tabs might be disabled. See [Creating Disk Safes in Data Center Console]
!az.png!
{info}4. Define the following settings specific to the new Policy:
----
{toc:location=top|maxLevel=5|minLevel=5|type=flat|separator=pipe|style=border:1}
----
h5. Policy Settings Tab
This is the main tab for creating a Policy. The following options are available:
*Identification*
* *Enabled* \- Select this checkbox to enable the Policy. The Enabled Policy will run according to the schedule.
* *Name* \- Enter a name you can use to identify this Policy among others in the Policies list.
* *Description* \- Describe your Policy in details. The description can be shown in the Policies list in the corresponding column.
*Disk Safe*
* *Agent* \- From the drop-down menu, select an Agent for which data you are going to replicate. Then you will be able to select a Disk Safe assigned to the Agent.
* *Disk Safe* \- From the drop-down menu, select a Disk Safe in which to save the replicated data.
{info:title=Note}The Policy will replicate data from the Devices assigned to the selected Disk Safe.
{info}
*Scheduling*
* *Replication Schedule* \- Define the schedule and recurrence for the new Policy (On Demand, Minutely, Hourly, Daily, Weekly, Monthly, or Yearly).
{info:title=Note}The lowest possible replication frequency for all the Disk Safes assigned to Volume is defined in Volume properties (Volume properties window !arrow.gif! "Limits" tab "Options" section "Replication Limit" option).
{info}
* *Merge Schedule* \- Define the schedule and recurrence for the Recovery Points merge (After Replication, Hourly, Daily, Weekly).
h5. Data Retention Tab
On this tab, you can set the Recovery Points Limit for the Policy and create an Archiving Schedule.
!tab1.png!
{info:title=Note}The Recovery Point limit you set on this tab cannot be greater than the limit defined for the current Disk Safe. See [Creating Disk Safes in Data Center Console].
{info}
h5. File Excludes Tab
This tab allows you to manually exclude files and folders from the replication.
See [Excluding Files and Folders in Data Center Console].
!tab2.png!
h5. Advanced Excludes Tab
This tab allows you to define a pattern (mask) to exclude files from the replication.
See [Excluding Files and Folders in Data Center Console].
!tab3.png!
h5. Databases Tab
This tab allows you to include MySQL databases in the replication Policy.
See [Adding a MySQL Instance to a Policy in Data Center Console].
!tab4.png!
h5. Control Panels Tab
This tab allows you to add a Control Panel Instance to the Policy.
See [Adding Control Panel Instances in Data Center Console].
!tab5.png!
h5. Advanced Policy Settings Tab
* *Force Full Block Scan* \- Optionally check this option to mandate the start of a full block scan each time the replication is performed. If the option is not selected, then an automatic full block scan happens only under certain conditions. A full block scan compares the MD5 sum of all allocated blocks to perform the backup and get CDP back in synchronization.
* *Verify Checksums Server Side* \- Optionally enable this option to ensure that no data is lost during transporting. If this option is activated, then the Server side uncompresses, unencrypts if necessary and compares block packet MD5 with data sent from Agent. Verifying encrypted or unencrypted block checksums on the CDP Server allows you to triple check the integrity of a backup.
* *Exclude Known Disk Safes* - Optionally check this option to exclude the known Disk Safes from the replication to avoid backing up the same data twice.
* *Specify Backing File Location* (Linux only) - Optionally define a path which the mount point of a device should use to store changed blocks. This option is useful to support backups of devices with low free space. By default, the Linux snapshot driver stores changed blocks (needed to maintain snapshots) in the the free space of the file system on which it is performing a snapshot. When using a server with multiple disks, storing snapshots on a separate dedicated disk can help reduce the load during backup. The disk must have a file system and must be mounted.
{info:title=Example}Linux system:
|| Mount Point || Disk ||
| {{/dev/sda1}} | {{/boot}} |
| {{/dev/sda3}} | {{/}} |
| {{/dev/sda4}} | {{/var}} |
When {{/boot}} or {{/var}} is 99.99% full, the backups fail because there is no free space to maintain the snapshot.
\\
Once the user inputs "{{/}}" into the "Backing File Location" field, the {{/dev/sda3}} path will be used as the changed block storage location for all file systems.
{info}
!pol.png!
5. Click on "Create" in the bottom of the window to add the Policy to the "Policies" list.
!policy-create.png!
6. You will receive a notification that the creation of the Policy was successful. Click "OK."
!created-policy-notification.png!
7. The new Policy item appears in the "Policies" list. The properties are shown in the grid.
{info:title=Tip}Click on an item in the "Policies" list to see the Policy details in the bottom pane.
{info}
You can also create Policies using the "Policies" tab of the Agent "Details" Pane. This screen provides the same functionality as the main "Policies" screen.
{excerpt:hidden=true}Instructions on how to create a new Data Protection Policy and to define its options in CDP.{excerpt}