Creating a Server Backup Vault¶
This section describes how to create a server backup vault.
Procedure¶
Log in to the CBR console.
Log in to the management console.
Click in the upper left corner and select a region.
Click and choose Storage > Cloud Backup and Recovery. Select a backup type from the left navigation pane.
In the upper right corner of the page, click Create Server Backup Vault.
Select a protection type.
Backup: A server backup vault stores server backups.
Replication: A server replication vault stores replicas of server backups. If you select Replication, you do not need to select a server.
For example, if you want to back up a server, select Backup for the vault protection type. If you want to replicate backups of a server from one region to another, select Replication for the vault in this other region.
(Optional) In the server list, select the servers or disks you want to back up. After the servers or disks are selected, they are added to the list of selected servers. See Figure 1. You can also select specific disks on a server and associate them with the vault.
Important
To avoid data inconsistency after restoration, you are advised to back up the entire server.
If you want to back up only some of the disks to reduce costs, ensure that data on the backed up disks does not depend on the disks that are not backed up. Or, data inconsistency may occur.
For example, the data of an Oracle database is scattered across different disks. If only some of the disks are backed up, restoration restores only the data of the disks that have been backed up, with data on the rest of the disks unchanged. As a result, the data may be inconsistent and the Oracle database may fail to start.
Figure 1 Selecting servers
Note
The selected servers must have not been associated with any vault and must be in the Running or Stopped state.
You can also associate servers with the vault you are creating later if you skip this step.
Specify a vault capacity ranging from 10 GB to 10,485,760 GB. Properly plan the vault capacity, which must be at least the same as the size of the servers you want to back up. Also, if a backup policy is applied to the vault, more capacity is required.
As the vault's used space grows, you can expand the vault capacity if it becomes insufficient. See Figure 2.
Figure 2 Setting the vault capacity
Configure auto backup. See Figure 3.
If you select Configure, you must then select an existing backup policy or create a new policy. After the vault is created, CBR will apply the policy to this vault, and all servers associated with this vault will be automatically backed up based on this policy.
If you select Skip, servers associated with this vault will not be automatically backed up until you apply a backup policy to the vault.
(Optional) Configure automatic resource association.
If you select Configure, in the next backup period, CBR will automatically scan all unprotected resources, associate them with the vault, and then perform backups.
If you select Skip, CBR will not scan and associate unprotected resources with the vault you are creating.
If no tag is available, you can create tags on the corresponding resource page. You can search for vaults by specifying a maximum of 5 tags at a time. If you select more than one tag, the vaults with any of the specified tags will be returned.
(Optional) Add tags to the vault.
Tags are key-value pairs, which are used to identify, classify, and search for vaults. You can add a maximum of 20 tags for a vault, and vault tags are only used for vault search and management. See Figure 4.
Figure 4 Adding a tag
Table 1 describes the parameters of a tag.
¶ Parameter
Description
Example Value
Key
Each tag has a unique key. You can customize a key or select the key of an existing tag created in TMS.
A tag key:
Can contain 1 to 36 Unicode characters.
Can contain only letters, digits, hyphens (-), and underscores (_).
Key_0001
Value
A tag value can be repetitive or left blank.
A tag value:
Can contain 0 to 43 Unicode characters.
Can contain only letters, digits, hyphens (-), and underscores (_).
Value_0001
Specify a name for the vault.
The name must contain 1 to 64 characters including digits, letters, underscores (_), or hyphens (-), for example, vault-f61e.
Note
You can also use the default name vault_xxxx.
Complete the creation as prompted.
Go back to the Cloud Server Backups page. You can see the created vault in the vault list.
You can associate servers with the vault and perform backup for the servers. For details, see Querying a Vault.