Help Center/ Cloud Backup and Recovery/ User Guide/ Vault Management/ Associating Resources with a Vault
Updated on 2025-08-05 GMT+08:00

Associating Resources with a Vault

If you have already associated servers, file systems, or disks with the vault when purchasing a vault, skip this step. If you need to enable automatic association, see Automatic Association.

After a server backup vault, SFS Turbo backup vault, or disk backup vault is created, you can associate servers, file systems, or disks with the vault to back up these resources. If no resources are associated with a vault, backups cannot be performed.

After a hybrid cloud backup vault is created, servers and disks cannot be associated with the vault, but you can synchronize backups of on-premises servers and storage systems to the cloud. For details, see Hybrid Cloud Backup.

New resources cannot be associated with vaults in CN North-Beijing1 AZ2 to perform backups. Resources already associated are not affected, and backups can still be performed.

Prerequisites

  • A vault can be associated with a maximum of 256 resources.
  • The servers you plan to associate with a vault must have at least one disk attached.
  • The vault and the resources you plan to associate with it must be in the same region.
  • It is recommended that the total size of the resources to be associated be less than or equal to the capacity of the vault.
  • Resources can be associated only when they are in the statuses in the table below.
    Table 1 Resource statuses available for association

    Resource Type

    Status

    Cloud server

    Running or Stopped

    Cloud disk

    Available or In-use

    SFS Turbo file system

    Available

  • You are not advised to associate shared disks with both server backup vaults and disk backup vaults and apply the same backup policy for simultaneous backup.

Procedure

  1. Log in to the CBR console.

    1. Log in to the management console.
    2. Click in the upper left corner and select a region.
    3. Click and choose Storage > Cloud Backup and Recovery. Select the corresponding backup type from the navigation pane.

  2. Locate the target vault and click Associate Server/Associate Disk/Associate File System.
  3. In the resource list, select the resources you want to associate with the vault. After resources are selected, they are added to the list of selected resources.

    Figure 1 Associating servers with a vault

    If you only want to associate certain disks of an ECS, click the drop-down arrow on the left of the ECS name and select the disks.

  4. Click OK. In the vault list, you can view the number of associated servers/disks/file systems in the Associated Servers/Associated Disks/Associated File Systems column.

    When full-ECS backup is selected, the system automatically detects and includes newly added disks to the ECS in subsequent backup operations.

Automatic Association

If you enable automatic association for a vault, CBR will automatically associate unprotected resources with the vault and back them up according to the backup policy that is applied to the vault. After automatic association is enabled, CBR automatically scans for resources that are not associated with vaults and associates them with vaults.

  • The vault's remaining capacity should be greater than 40 GB and the capacity of the associated resources. CBR will automatically scan for and associate unprotected servers in the next backup cycle and perform backup. Remaining capacity of a vault = Total capacity of the vault - Capacity of resources associated with the vault. You can obtain the vault's total capacity and associated capacity in the Basic Information area on the details page of the vault. For example, if you have an 800-GB server backup vault and it has been associated with two 100-GB servers, its remaining capacity is 600 GB (800 GB – 200 GB). CBR will automatically associate unprotected servers and perform backup in the next backup cycle.
  • If automatic association is enabled for multiple vaults, CBR scans their backup policies and associates resources with the vault whose next scheduled backup time is the earliest. When the first associated vault is full, resources will be associated with the next vault configured to execute the backup policy.
  • If the number of resources associated with a vault reaches 256, automatic association will not be performed.
  • If a backup policy with the earliest scheduled backup time is applied to more than one vault, CBR randomly associates the resources with one of these vaults.
  • If a vault has automatic association enabled but has no backup policy applied, no resources will be automatically associated with this vault. You can manually associate unprotected resources.
  • After automatic association is disabled for a vault, the vault stops automatically scanning for unprotected resources. Associated resources are not affected.
  • Only cloud server backup vaults and disk backup vaults support automatic association.
  1. Log in to the CBR console.

    1. Log in to the management console.
    2. Click in the upper left corner and select a region.
    3. Choose Storage > Cloud Backup and Recovery.

  2. Locate the target vault.
  3. Choose More > Enable Automatic Association in the Operation column of the vault.

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

    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.
    Figure 2 Enabling automatic association

  4. Check that Automatic association is displayed in the Associated Servers column of the vault list.
  5. (Optional) If automatic association is not required, choose More > Disable Automatic Association in the Operation column of the vault. See Figure 3.

    Figure 3 Disabling automatic association

    After automatic association is disabled, the Automatic Association column in the vault list displays only numbers and do not display Automatic association anymore.