Help Center> Cloud Backup and Recovery> Getting Started> Creating a Cloud Disk Backup
Updated on 2024-07-15 GMT+08:00

Creating a Cloud Disk Backup

Operation Process

Table 1 Operation process of creating a cloud disk backup

Step

Description

Making preparations

Register with Huawei Cloud, complete real-name authentication, top up your account, and create an IMA user.

Purchasing a disk backup vault

Purchase a disk backup vault to store disk backups.

Associating disks

Associate your disks with a vault to back up and replicate data.

Creating a cloud disk backup

Create cloud disk backups to protect data.

Making Preparations

Registering with Huawei Cloud

If you already have a Huawei Cloud account, skip this part. If you do not have a Huawei Cloud account, perform the following steps to create one:

  1. Log in to the Huawei Cloud official website, and click Sign Up in the upper right corner.
  2. On the displayed page, register an account as prompted.

    After the registration is complete, you will be redirected to your personal information page.

Topping Up Your Account

Ensure that your account has sufficient balance.

To view detailed CBR pricing, see Product Pricing Details.

To top up an account, see Topping Up an Account.

Creating an IAM User

If you want to allow multiple users to manage your resources without sharing your password or private key, you can create IAM users and grant permissions to the users. These users can use specified links and their own accounts to access the public cloud and help you manage resources efficiently. You can also configure account security policies to ensure the security of these accounts.

If you have registered with the public cloud but have not created an IAM user, you can create one on the IAM console. For example, to create a CBR administrator, perform the following steps:

  1. Enter your username and password to log in to the management console.
  2. Hover the mouse over the username in the upper right corner and choose Identity and Access Management from the drop-down list.
  3. In the navigation pane on the left, choose Users.
  4. On the Users page, click Create User.
  5. Enter user information on the Create User page.
    • Username: Enter a username, for example, cbr_admin.
    • Email Address: Email address of the IAM user. This parameter is mandatory if the access type is specified as Set by user.
    • (Optional) Mobile Number: Mobile number of the IAM user.
    • (Optional) Description: Enter the description of the user, for example, CBR administrator.
  6. Select Management console access for Access Type and Set now for Password. Enter a password and click Next.

    A CBR administrator can log in to the management console and manage users. You are advised to select Set now for Password Type when you create a CBR administrator for your domain. If you create a CBR administrator for other users, you are advised to select Set by user for Password Type instead so that the users can set their own password.

  7. (Optional) Add the user to the admin user group and click Create.

    User group admin has all the operation permissions. If you want to grant fine-grained permissions to IAM users, see Creating a User and Granting CBR Permissions.

    The user is displayed in the user list. You can click the IAM user login link to log in to the console.

Purchasing a Disk Backup Vault

This section describes how to purchase a disk backup vault.

  1. In the upper right corner of the page, click Buy Disk Backup Vault.
  2. Select a billing mode.

    • Yearly/monthly is a prepaid billing mode. You are billed based on the subscription duration you specify. This mode is ideal when the resource use duration is predictable. A longer subscription often means a lower cost.
    • Pay-per-use is a postpaid billing mode. You are billed based on your resource usage and you can increase or delete resources anytime. Fees are deducted from your account balance.

  3. Determine whether to enable backup locking.

    If enabled, backups in the vault will not be deleted maliciously or by mistake, improving data reliability.

    Backup locking cannot be disabled after it is enabled.

  4. 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 a disk

    • The selected disks must have not been associated with any vault and must be in the Available or In-use state.
    • You can also associate disks with the vault you are creating later if you skip this step.

  5. Specify the vault capacity. This capacity indicates the total size of the disks that you want to associate with this vault. 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.

  6. Configure auto backup.

    • If you select Configure, a backup policy can be applied to this vault. Disks associated with this vault will be automatically backed up based on the policy. You can select an existing backup policy or create a new one.
    • If you select Skip, disks associated with this vault will not be automatically backed up until you apply a backup policy to the vault.

  7. (Optional) To enable automatic association, see associating a resource with the vault.
  8. If you have subscribed to Enterprise Project, 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 enterprise project is default.

    If the CBR FullAccess permissions have been assigned to IAM users, enterprise projects will not be displayed for you to choose from when you create a vault. Go to the Enterprise Project Management console to add the permissions.

  9. (Optional) Add tags to the vault. For details, see managing vault tags.
  10. Specify a name for the vault.

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

    You can also use the default name vault_xxxx.

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

  12. Complete the payment as prompted.
  13. Go back to the Cloud Disk Backups 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.

Associating Cloud Disks

If you have associated disks when purchasing a vault, skip this step.

If no resource is associated, see associating a resource with the vault.

Creating a Cloud Disk Backup

This section describes how to quickly create a cloud disk backup.

If the disk to be backed up is encrypted, the backup will also be automatically encrypted. The encryption attribute of backups cannot be changed.

Backing up a server does not impact the disk performance.

Peak hours of the backup service are from 22:00 to 08:00, during which there may be delays. So you are advised to evaluate your service types and schedule backups in discrete time periods.

Prerequisites

A disk can be backed up only when its status is Available or In-use. If you have performed operations such as expanding, attaching, detaching, or deleting a disk, refresh the page first to ensure that the operation is complete and then determine whether to back up the disk.

Procedure

  1. On the Cloud Disk Backups page, click the Vaults tab and find the vault to which the disk is associated.
  2. Perform backup in either of the following ways:

    • Click Perform Backup in the Operation column. In the disk list, select the disk you want to back up. After a disk is selected, it is added to the list of selected disks. See Figure 2.
      Figure 2 Selecting the disk to be backed up

    • Click the vault name to go to the vault details page. On the Associated Disks tab page, locate the target disk. Click Perform Backup in the Operation column of the disk. See Figure 3.
      Figure 3 Performing backup

    CBR will identify whether the selected disk is encrypted. If it is encrypted, the backups will be automatically encrypted.

  3. Set Name and Description for the backup. Table 2 describes the parameters.

    Table 2 Parameter description

    Parameter

    Description

    Example Value

    Name

    Name of the backup you are creating.

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

    NOTE:

    You can also use the default name manualbk_xxxx.

    If multiple disks are to be backed up, the system automatically adds suffixes to their backup names, for example, backup-0001 and backup-0002.

    manualbk_d819

    Description

    Description of the backup.

    It cannot exceed 255 characters.

    --

  4. Choose whether to enable full backup. If full backup is enabled, CBR performs a full backup on every associated disk, which requires a larger capacity compared to an incremental backup. See Figure 4.

    Figure 4 Enabling full backup

  5. Click OK. CBR automatically creates a backup for the disk.

    On the Backups tab page, if the status of the backup is Available, the backup task is successful.

    If you delete data from the disk during the backup, the deleted data may fail to be backed up. Therefore, to ensure data integrity, delete the target data after the backup is complete, and then perform the backup.

Related Information