Backup Policies
Description
You can apply an automatic backup policy to regularly save your data. Then if anything happens, you can restore data from the latest backup.
If you need to automatically back up data, you can apply a backup policy to a vault. The policy defines when backups happen, how often they occur, and how long the data is retained. A backup policy is only applied after it is associated with a vault and is enabled.
Automatic backup
- If you select Configure, you can select an existing backup policy or create a new one. This backup policy will be applied to the vault. Servers in this vault will be automatically backed up based on this policy. You can select an existing backup policy or create a new one.
- If you select Skip, servers in this vault will not be automatically backed up until you apply a backup policy to the vault. For details about how to apply a backup policy, see Policy Management.
If you have not created any policies, the system provides a default policy called "defaultPolicy". If the backup time, interval, and retention rules of this default policy do not meet your requirements, you can click Create Policy to create one and apply it to your vault.
If you back up data during 22:00 p.m and 08:00 a.m, there may be delays. To minimize delays, consider scheduling backups during off-peak hours.
Automatic association
- If you select Configure, in the next backup period, CBR will automatically scan for unprotected servers, associate them with the vault, and perform backups.
- If you select Skip, you can still enable automatic association later. For details, see Associating Resources with a Vault.
After you enable automatic association, CBR scans for unbacked resources, associates them with the vault, and regularly backs up the resources based on the backup policy that is applied to the vault.
If the vault is full, resources will be associated with the next vault available to CBR.
If you do not require automatic association anymore, you can choose More > Disable Automatic Association in the Operation column of the vault.
FAQ
How Do I Create a Backup Policy for a Vault?
You can click Create Policy to create one. For details about the parameters, see Table 1.
| Parameter | Description | Example Value |
|---|---|---|
| Type | Type of the policy. In this section, we select Backup. | Backup policy |
| Policy Name | Backup policy name. You can enter a custom name or use the default name policy_xxxx. The name must contain 1 to 64 characters including digits, letters, underscores (_), or hyphens (-). | backup_policy |
| Status | Whether to enable the backup policy. Backup policies are enabled by default. CBR backs up servers and EVS disks to a vault and deletes expired backups only after a backup policy is enabled for the vault. | Enabled |
| Backup Frequency | Frequency for executing a backup task. By default, backup tasks are executed automatically every Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.
If you select Day-based, the first backup should be performed on the day the policy was created. If the scheduled execution time has already passed on the day you create the backup policy, the first backup will run in the next cycle. You are advised to perform backups during off-peak hours or when there are no services running. | Every day |
| Execution Time | Execution times of the backup policy in a day. The default backup time is 22:00. Backups can only be scheduled on the hour. You can select multiple hours. You are advised to perform backups during off-peak hours or when there are no services running. Peak backup hours are from 00:00 to 06:00. During this period, scheduling delays may occur. For optimal performance, schedule backups outside of peak hours. NOTICE:
| 00:00 and 02:00 |
| Full Backup | Whether to perform periodic full backups. By default, full backup is disabled.
| 7 |
| Backup Frequency | Frequency for executing a backup task.
| Every day If you select Day-based, the first backup should be performed on the day the policy was created. If the scheduled execution time has already passed on the day you create the backup policy, the first backup will run in the next cycle. You are advised to perform backups during off-peak hours or when there are no services running. |
| Backup Retention Rule | The rule that specifies how backups will be retained. By default, backups are retained for one month.
| 6 months Select Backup quantity and set to keep 3 backups. Under Advanced Options, select Configure now and set to keep the most recent backup from each of the last two weeks. If today is the 30th of a month, the execution of this policy is shown in Figure 1.
If the weekly retention rule in advanced options is not configured, only the backups generated on the 25th, 26th, and 29th will be retained. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
