Manage backup policies



Overview
A backup policy is a set of rules that defines the schedule for automatic backups which occur on virtual machines configured for backup. You can create a backup policy and assign it to one or more virtual machines. After you assign backup policy to a virtual machine, the virtual machine is backed up according to the schedule defined in the associated backup policy.
Configuring a backup policy helps administrators simplify management of data backups across multiple virtual machines.
Note: Backup operations follow the time zone of the server.
Backup policy defines parameters such as,
- The start time of the automatic backup
- Duration for which the automatic backup should continue
- The period for which a snapshot is retained in the Druva Cloud
- The bandwidth at which the automatic backup should transfer data from virtual machines to Druva Cloud
- Backup set is enabled or disabled for long term retention. To know more, see About long term retention.
In this section
Best practices
Best practices provide you an idea on how you can design or create a backup policy that shall fulfill your requirement.
Follow these best practices when creating a new backup policy to backup virtual machines in your environment.
- Druva supports backup for different data types, such as backup of SQL server databases, files and folders on a server, VMware virtual machines, and Hyper-V virtual machines. Administrators must create separate backup policy for each server type, that is, separate backup policy for SQL server databases, separate backup policy for files and folders, and separate backup policy for Hyper-V virtual machines.
- It is recommended that the administrators should create separate backup policies depending on criteria like number of virtual machines and the frequency of data change on those virtual machines. You can create as many backup policies as required.
- The schedule in a backup policy can depend on the following:
- Volume of data on virtual machines.
- Availability of bandwidth for data transmission to Druva Cloud.
Examples- If the data change in virtual machines is infrequent, you can create a backup policy that includes bi-monthly backups and assign it to the virtual machines.
- For the virtual machines that have high volumes of data activity, you can create a backup policy that includes weekly backups.
- If you expect a large dataset during backups, you can schedule longer backups to run during off-peak hours, such as weekends, while allowing for small-sized backups during off-peak hours within the work day.
Example
You can create a backup policy that defines a schedule of an 8-hour long backup to run at night time, or on weekends. Or you can also configure a backup policy that defines short-burst backups to run in between, after every third day. - You can also consider changing a backup policy configuration at regular intervals.
Example
You might create a backup policy to include three automatic backups. You can update this policy later, to include more backups, depending on the virtual machine data needs.
About Retention
Create a Hyper-V backup policy
Add or create a new Hyper-V backup policy based on your Organization needs to backup virtual machines based on different schedules.
You can also copy an existing Hyper-V backup policy and modify it to suit your needs. For more information, see Copy a Hyper-V backup policy.
Procedure
- Log in to the Management Console.
- select the workload from the Protect menu. Note that if the All Organizations menu is enabled, you have to first select an organization and then select the workload.
- In the left navigation pane, click Backup Policies.
- In the top right corner, click New Backup Policy. The New Backup Policy wizard appears. The wizard contains the following sections:
- General
- Backup Schedule
- Retention
- Hyper-V Settings
- In the General tab, enter the following information:
Field Description Name Enter a name for the backup policy. Description Enter a description for the backup policy. - In the Backup Schedule tab, specify the following settings, keeping in mind to minimize the end-user impact of the backup.
Field Description Backup Frequency Select the days on which you want the backups to run. Start at (Server Time zone)
Select the off-peak time, in 12 hour format, when you want backups to start.
Note: Backup operations follow the time zone of the server.
Backup Window (Hrs)
The duration after which you want backup operations to stop.
For example, if you set Start at to 9 AM and you set the Backup Window to 2 hours, backups from your server start at 9 AM and stop at 11 AM, even if they do not complete.
Max. Bandwidth
The maximum bandwidth that each virtual machines can consume while backing up data to Druva. - For scheduled backup, the job will consume the assigned bandwidth.
- However, for manually triggered backup, the job will consume the available bandwidth on your network.
Note: The maximum bandwidth that a backup job can consume is 2 Gbps (2048 Mbps).
- Click Add Schedule to add multiple schedules. You can delete a schedule by clicking the cross icon next to a schedule.
- By default, the Ignore backup duration for first backup option is enabled. When this option is enabled, it ignores the specified backup duration until the first backup job is complete. First backup job is complete when the first restore point is created. You can disable this option to enforce backup duration for the first backup job.
- Click Next.
- In the Retention tab, provide the following details:
Field Description Daily snapshots for
Duration in number of days, for which you want to retain all the daily snapshots.
Weekly revisions for
Specify the number of weeks for which you want to retain the latest weekly snapshot.
Monthly revisions for
Specify the number of months for which you want to retain the latest monthly snapshot.
Yearly revisions for
Specify the number of years, for which you want to retain the latest yearly snapshot.
Enable Long Term Retention
Toggle to enable or disable LTR for the backup policy. You can enable LTR only if the retention period is greater than or equal to one year. To know more about LTR, refer to About Long Term Retention.
In the Keep snapshots in warm tier drop-down list, specify the duration in days to retain the snapshots in the warm tier. For example, 15, 30, 45, and 60 days. To know more about the impact of changing the threshold on the existing snapshots, see Impact of changing threshold on existing snapshots.
Enable Data Lock Toggle to enable the Data Lock for the backup policy. For more information about Data Lock, refer to Data Lock for preventing malicious or accidental deletion of snapshots.
Note: Once you apply Data Lock to the backup policy, you cannot:
- Disable Data Lock.
- Delete the snapshots, backup sets, and backup policy.
- Edit the retention period in the backup policy.
- Associate another backup policy to the Data Lock-enabled backup set.
Note: Ensure that you enter a value in at least one of the fields. Druva treats the values in the empty fields as zero.
- Click Next.
- In the Hyper-V Settings tab, specify the following settings:
Field Description Enable Hyper-V tools quiescing Hyper-V tools quiesce applications using Microsoft VSS to ensure application consistency. - Click Finish.
Backup policy is created and listed on the Backup Policies page. Click the name of Hyper-V backup policy to view its details. The backup policy can now be assigned to virtual machines.
Duplicate Hyper-V backup policy
You can copy the existing backup policies to create multiple copies of backup policies. When you copy a backup policy, the newly-created backup policy is identical to the policy that it was copied from. You can modify the settings of this policy according to your requirements.
Prerequisites
There must be at least one existing Hyper-V backup policy defined in your Druva environment.
To copy a VMware backup policy
- Log in to the Management Console.
- select the workload from the Protect menu. Note that if the All Organizations menu is enabled, you have to first select an organization and then select the workload.
- In the left navigation pane, click Backup Policies.
- In the right pane, select the policy that you want to copy to a new policy, and then click Duplicate Policy.
- In the New Backup Policy dialog box, enter the following information:
- New backup policy name: Enter the name for the new backup policy.
- Description (optional): Enter a description of the new backup policy.
- Click Save.
Backup policy is created with settings similar to the original backup policy and listed on Manage Backup Policies page. Click the name of the backup policy to view its details. You can edit the settings as per your requirement and save it. You can then assign the backup policy to a virtual machine, which defines the backup schedule.
Update a backup policy
You can update an existing Hyper-V backup policy anytime as per your requirements. You can update details such as the name, description, backup schedule, retention settings, and Hyper-V settings.
To update a backup policy:
- Log in to the Management Console.
- select the workload from the Protect menu. Note that if the All Organizations menu is enabled, you have to first select an organization and then select the workload.
- In the left navigation pane, click Backup Policies.
- In the right pane, click the policy to view policy details.
- In the Backup Policies page, the Summary tab is displayed by default. You can edit the Overview, Backup Schedule, Retention, and Hyper-V settings.
Click the Edit button in each section to edit the settings in that section. For detailed field descriptions, see Create a Hyper-V backup policy.
View list of virtual machines associated to a backup policy
To view list of virtual machines associated to a backup policy:
- Log in to the Management Console.
- select the workload from the Protect menu. Note that if the All Organizations menu is enabled, you have to first select an organization and then select the workload.
- In the left navigation pane, click Backup Policies.
- In the right pane, click the Hyper-V backup policy for which you want to view the list of associated virtual machines. The Summary tab is displayed by default.
- Click the VMs tab.
- Click on the virtual machine name to view its details.
Delete a backup policy
Only a cloud administrator and a cloud-derived administrator can remove or delete a backup policy from the Druva environment based on the following criteria,
- The backup policy you intend to remove must not be associated with any virtual machine.
- If the backup policy you intend to remove is associated with virtual machines, then you must update the virtual machines and apply a new backup policy to the virtual machines.
Prerequisites
- You must be a cloud administrator and a cloud-derived administrator.
- The backup policy you intend to remove must not be associated with any virtual machine.
Note:
- You can delete a backup policy only after 7 days of the deletion of the last configured virtual machine mapped to the policy.
- If the backup policy has Data Lock enabled, you cannot manually delete this backup policy.
Procedure
- Log in to the Management Console.
- select the workload from the Protect menu. Note that if the All Organizations menu is enabled, you have to first select an organization and then select the workload.
- In the left navigation pane, click Backup Policies.
- Click the backup policy that you want to delete. The Summary tab is displayed by default.
- Click Delete.
If the prerequisites mentioned earlier are satisfied, the backup policy is removed from Druva. Otherwise, you must take appropriate steps to satisfy the criteria and then try again.