Updated on 2022-08-02 GMT+08:00

Purchasing a Server Backup Vault

This section describes how to purchase a server 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 Buy Server Backup Vault.
  3. Select a billing mode.

    • Yearly/monthly is a prepaid billing mode. You are billed based on the subscription duration you specify. This mode provides lower prices and is ideal when the resource use duration is predictable.
    • Pay-per-use is a postpaid billing mode. You are billed based on your resource usage. With this mode, you can increase or delete resources at any time. Fees are deducted from your account balance.

  4. Select a protection type.

    • Backup: The created vault is a server backup vault, which stores cloud server backups.
    • Replication: The created vault is a cloud server replication vault, which stores the replicas of cloud 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 protection type of the vault. If you want to replicate backups of the server from region 1 to region 2, the destination vault in region 2 must be of the Replication protection type.

  5. Enable or disable application-consistent backup.

    • If application-consistent backup is enabled, the vault can be used to store database backups. Backing up memory data through application-consistent backup ensures application system consistency, which is suitable for ECSs containing MySQL or SAP HANA databases. If an application-consistent backup task fails, the system automatically performs a common server backup task instead. The common server backup will be stored in the application-consistent backup vault.
    • If application-consistent backup is disabled, only common server backup is performed on associated servers, which is usually used for ECSs that do not run databases.

  6. (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 may also select only some of the disks of a server and associate them with the vault.

    To ensure post-restoration data consistency, 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 the 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 the rest of the data unchanged. As a result, the data may be inconsistent and applications may fail to start.

    Figure 1 Selecting servers

    • The selected servers must have not been associated with another vault and must be in the Running or Stopped state.
    • You can associate servers with the vault you are creating if you skip this step.

  7. Specify the vault capacity, which ranges from 10 GB to 10,485,760 GB. You need to 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 automatic association is enabled and 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.

  8. Determine whether to configure auto backup.

    • If you select Configure, you must then select an existing backup policy or create a new policy. After the vault is created, the system 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 it.

  9. If you have subscribed to the Enterprise Project Management Service (EPS), add the vault to an existing enterprise project.

    EPS provides a unified method to manage cloud resources by project, allowing you to manage resources, users, and user groups in your projects. The default project name is default.

    If the CBR FullAccess policy has been assigned to IAM users, enterprise projects cannot be displayed and selected when you create a vault. Go to the Enterprise Project Management console and assign the CBR FullAccess policy to the target user group.

  10. (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.

  11. (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.

    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

  12. Specify a name for the vault.

    A name must contain 1 to 64 characters including digits, letters, underscores (_), or hyphens (-), for example, vault-f61e.

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

  13. Specify the required duration if you select yearly/monthly billing. The validity period ranges from 1 month to 5 years.

    Determine whether to enable auto renewal. If you select Auto Renewal:

    • Your subscription will be renewed each month for monthly billing.
    • Your subscription will be renewed each year for yearly billing.

  14. Pay for the order as prompted.
  15. 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 Vault Management.