Step 2: Associate a Resource with the Vault

If you have already associated servers, file systems, or disks when creating a vault, skip this step.

After a server backup vault or disk backup vault is created, you can associate servers, file systems, or disks with the vault to back up these resources.

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.

  • The total size of the resources to be associated cannot be greater than the vault capacity.

  • 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

Procedure

  1. Log in to CBR Console.

    1. Log in to the management console.

    2. Click image1 in the upper left corner and select a region.

    3. Click image2 and choose Storage > Cloud Backup and Recovery. Select a backup type from the left navigation pane.

  2. On a backup page, locate the target vault and click Associate Server, Associate File System, or Associate Disk.

  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. See Figure 1.

    Figure 1 Associate Server

    image3

  4. Click OK. Then on the Associated Servers tab page, you can view the number of resources that have been associated.

    Note

    If a new disk is attached to an associated server, CBR automatically identifies the new disk and includes the new disk in subsequent backup tasks.

Automatic Association

If you enable automatic association for a backup vault, the vault will automatically associate the unprotected resources and back them up according to the backup policy applied to the vault.

  • You can enable automatic association only when the vault's remaining capacity (Vault's total capacity - Vault's associated capacity) is greater than both 40 GB and the associated capacity. 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). In this case, you can enable automatic association.

  • If multiple vaults are enabled with automatic association, CBR scans their backup policies and associates resources with the vault whose next scheduled backup time is the earliest.

  • If the capacity of the first selected vault is used up, resources will be associated with the vault whose next scheduled backup time is the second earliest.

  • 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.

  1. Log in to CBR Console.

    1. Log in to the management console.

    2. Click image4 in the upper left corner and select a region.

    3. Choose Storage > Cloud Backup and Recovery.

  2. On any backup page, locate the target vault.

  3. Choose More > Enable Automatic Association in the Operation column of the vault. See Figure 2.

    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

    image5

  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

    image6