# Creating a Disk Backup Vault

This section describes how to create a disk backup vault.

#### Procedure

1. Log in to CBR Console.

   1. Log in to the management console.
   2. Click in the upper left corner and select your region and project.
   3. Choose Storage > Cloud Backup and Recovery. Select a backup tab from the left navigation pane.
2. In the upper right corner of the page, click Create Disk Backup Vault.
3. (Optional) In the disk list, select the disks you want to back up. After disks are selected, they are added to the list of selected disks. See Figure 1.

   Figure 1 Selecting disks

   - The selected disks must have not been associated with a vault and must be in the Available or In-use state.
   - You can associate disks with the vault you are creating if you skip this step.
4. Specify the vault capacity. This capacity indicates the total size of the disks that you want to associate with this vault. You need to properly plan the vault capacity, which must be at least the same as the size of the disks you want to back up. The capacity ranges from 10 GB to 10485760 GB. See Figure 2.

   Figure 2 Setting the vault capacity

5. Configure automatic backup. See Figure 3.

   - If you select Configure, you must then select an existing backup policy or create a new one. After the vault is created, the system associates the vault with this backup policy, and all disks associated with this vault will be automatically backed up based on this policy.
   - If you select Skip, disks associated with this vault will not be automatically backed up until you apply a backup policy to the vault.
   Figure 3 Configuring automatic backup

6. (Optional) Configure automatic resource association.

   - If you select Configure, in the next backup period, unprotected resources will be automatically scanned and associated with the vault, and backups will be automatically executed.
   - If you select Skip, resources will not be automatically associated with the vault you are creating.

   You can filter unprotected resources by tag. If a tag is selected, only unprotected resources having the specified tag will be associated with the vault. Or, all unprotected resources will be associated.

   Only existing tags can be selected. If no tag is available, create tags on the corresponding resource page. You can select a maximum of 5 tags to search for vaults. If you select more than one tag, the vaults containing any of the specified tags will be returned.

7. (Optional) Add tags to the vault.

   A tag is represented in the form of a key-value pair. Tags are used to identify, classify, and search for vaults. Vault tags are used to filter and manage vaults only. A vault can have a maximum of 10 tags. See Figure 4.

   Figure 4 Adding a tag

   Table 1 describes the parameters of a tag.

   Table 1 Tag parameter description
   Parameter | Description | Example Value
   --- | --- | ---

   Key

   Each tag has a unique key. You can customize the key or select the key of an existing tag created in TMS.

   The naming rules for a tag key are as follows:
   - It contains 1 to 36 Unicode characters.
   - It can contain only letters, digits, hyphens (-), and underscores (_).

   Key_0001

   Value

   A tag value can be repetitive or left blank.

   The naming rules for a tag value are as follows:
   - It contains 0 to 43 Unicode characters.
   - It can contain only letters, digits, hyphens (-), and underscores (_).

   Value_0001

8. Specify a name for the vault.

   A name must contain 1 to 64 characters including digits, letters, underscores (_), or hyphens (-), for example, vault-612c. See Figure 5.

   Figure 5 Setting the vault name

   You can use the default name, which is in the format of vault_xxxx.

9. Complete the creation as prompted.
10. Go back to the Cloud Disk Backup page. You can see the created vault in the vault list.

    You can associate disks to the new vault or perform backup for the disks. For details, see Vault Management.

Parent topic: Step 1: Create a Vault