Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com> Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
19 KiB
Creating a Backup Policy
A backup policy can drive the system to automatically execute CSBS backup jobs at the specified interval. Periodic backups can be used to restore data quickly against data corruption or loss.
Context
- Automatic backup jobs require enabling the backup policy. The system automatically backs up ECSs associated with the backup policy and deletes expired backups.
- Each user can create a maximum of 32 backup policies.
- A maximum of 64 ECSs can be associated with a backup policy.
Procedure
- Log in to the CSBS management console.
- On the Policies tab page, click Create Backup Policy. SeeFigure 1.
- Set the backup policy parameters according to Table 1.
- Add tags to the backup.
A tag is represented in the form of a key-value pair. Tags are used to identify, classify, and search for cloud resources.
Tags added in a backup policy apply to all backups generated using the backup policy. These tags are used to filter and manage backup resources only. A backup policy can have a maximum of 10 tags.
Table 2 describes parameters of a tag.Table 2 Parameter description Parameter
Description
Example Value
Key
Tag key. Each tag of a backup policy has a unique key. The key of a tag is user-definable or is selected from those of existing tags in TMS.
The naming rule of a tag key is as follows:
- It ranges from 1 to 36 Unicode characters.
- It can contain only letters, digits, hyphens (-), and underscores (_).
Key_0001
Value
Tag value. Tag values can be repetitive or null.
The naming rule of a tag value is as follows:
- It ranges from 0 to 43 Unicode characters.
- It can contain only letters, digits, hyphens (-), and underscores (_).
Value_0001
- Click OK.
- In the row of the backup policy, click Associate Server. See Figure 2.
- In the available server list, select the ECSs you want to associate. After ECSs are selected, they are added to the list of selected servers.
- A maximum of 64 ECSs can be associated with a backup policy.
- If a selected ECS has been associated with another backup policy, it will be disassociated from the original backup policy automatically and then associated with the new backup policy.
- If EVS disks on an ECS have been associated with a VBS backup policy, disassociate them from the VBS backup policy. Otherwise, two backups are generated for each of the EVS disks.
- CSBS supports backing up ECSs with shared EVS disks.
- You can only select ECSs that are in the Running or Stopped state.
- Click OK.