Updated on 2026-02-09 GMT+08:00

Creating a Server Backup

Scenarios

This section describes how to quickly purchase a server backup vault and perform backup. Backing up a server does not impact the server performance.

The backup process for BMSs is the same as that for ECSs.

If you do not need an ECS for the moment, you can back up the ECS and then delete it. When you want the ECS later, you can create an image from the ECS backup and use the image to create the ECS.

Video Tutorial

Procedure

Table 1 Procedure for creating a cloud server backup

Step

Description

Making preparations

Sign up for a HUAWEI ID.

Purchasing a server backup vault

Purchase a server backup vault to store server backups.

Associating servers

Associate your servers with the vault to back up and replicate data.

Creating a cloud server backup

Create server backups to protect data.

Making Preparations

  1. Sign up for Huawei Cloud.

Purchasing a Server Backup Vault

Before backing up data, you need to purchase a server backup vault.

  1. Go to the Buy Server Backup Vault page.
  2. Specify mandatory parameters for the server backup vault. Retain default values for the parameters that are not included in the following table.

    Complete Basic Settings and select a Protection Type.

    Parameter

    Example Value

    Description

    Billing Mode

    Pay-per-use

    • Pay-per-use is a postpaid billing mode. You are billed based on your resource usage and you can add or delete resources anytime. Fees are deducted from your account.
    • 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.

    Region

    CN-Hong Kong

    Resources in different regions cannot communicate with each other over an intranet. Select the region closest to you to achieve low latency.

    Once the vault is created, its region cannot be changed.

    Protection Type

    Backup

    • Backup: A server backup vault stores server backups.
    • Replication (cross-region): A server replication vault stores replicas of 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. If you want to replicate backups of a server from one region to another, select Replication for the protection type of the vault in this other region.

    Backup Data Redundancy

    Single-AZ

    • Single-AZ: Backup data is stored in a single AZ to reduce costs.
    • Multi-AZ: Backup data is stored in multiple AZs for higher reliability. If one AZ becomes unavailable, backup data can still be accessed from the other AZs.

    The backup data redundancy policy cannot be changed after a vault is purchased. Select a policy that best suits your service needs.

    Configure Resources to Back Up, Backup Capacity, and Backup Policy.

    Parameter

    Example Value

    Description

    Resources to Back Up

    Skip

    • Configure: Select the servers to be associated with the vault.
    • Skip: If no server is available, you can purchase the vault first and associate servers with the vault later.

    Backup Capacity

    100 GB

    Specify the vault capacity. The capacity ranges from 10 GB to 10,485,760 GB.

    Properly plan the vault capacity, which must be at least as large as 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.

    Auto Capacity Expansion

    Skip

    • If you select Configure, the vault capacity will be automatically expanded to 1.25 times the original capacity when the capacity is about to be used up.
    • If you select Skip, the vault capacity will not be expanded automatically. If the vault capacity is about to be used up, you can manually expand the vault capacity. For details, see Expanding Vault Capacity.

    Auto Backup

    Skip

    • Configure: A backup policy can be applied to this vault. Resources 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.
    • Skip: Resources associated with this vault will not be automatically backed up until you apply a backup policy to the vault. If you need to automatically back up data periodically, you can create a policy and apply it to the vault. For details, see Policy Management.

    Automatic Association

    Skip

    • If you select Configure, in the next backup period, CBR will automatically scan for all unprotected servers, associate them with the vault, and then perform backups.
    • If you select Skip and need to enable automatic association later, see Associating Resources with a Vault.

    Configure Enterprise Project and Advanced Settings.

    Parameter

    Example Value

    Description

    Enterprise Project

    default

    Add the vault to an existing enterprise project.

    This parameter is only available for enterprise users who have enabled enterprise project management.

    NOTE:

    If an IAM user has been assigned the CBR FullAccess policy but cannot view or select enterprise projects when creating a vault, the administrator must grant the CBR FullAccess policy for the enterprise project to the user group in the IAM console.

    Vault Name

    vault-317a

    Name of the vault to be created.

    A name can contain 1 to 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed. You can also use the default name vault_xxxx.

  3. Click Next.
  4. Click Submit. Confirm the order details and complete the payment.
  5. Go back to the Cloud Server Backups page. You can view the created vault in the vault list. The vault is in the Available state.

Associating Servers with the Vault

After purchasing a vault, you need to associate servers with the vault.

Ensure that the selected servers have not been associated with any vault and are in the Running or Stopped state.

  1. On the Cloud Server Backups page, locate the target vault and click Associate Server in the Operation column.
  2. In the sever list, select the servers you want to associate with the vault. After servers are selected, they are added to the list of selected servers. You can back up the entire server or only some disks of the server.

    • If a new disk is attached to an associated server, CBR automatically identifies the new disk and includes it in subsequent backup tasks.
    • To avoid data inconsistency after restoration, 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 data on the backed up disks does not depend on the disks that are not backed up. Or, data inconsistency may occur.

      For example, if Oracle database data is distributed across multiple disks and only some of those disks are backed up, then during restoration, only the data on the backed-up disks will be restored, while data on the remaining disks remains unchanged. This can lead to data inconsistency, potentially causing the Oracle database to fail to start.

    • You are not advised to associate a shared disk with multiple ECSs for cloud server backup. If multiple ECSs need to be backed up, associate only the required disks and do not associate shared disks. For details, see Associating Resources with a Vault.

  3. Click OK. Then on the Associated Servers tab, you can view the servers that have been associated with the vault.

For details about automatic association, see Associating Resources with a Vault.

Creating a Server Backup

After servers are associated with the vault, CBR will automatically back up your data, or you can back up data manually. Only servers in the Running or Stopped state can be backed up.

  1. On the Cloud Server Backups page, click the Vaults tab and find the vault with which the server is associated.
  2. Click Perform Backup in the Operation column. In the server list, select the server you want to back up. After a server is selected, it is added to the list of selected servers.

  3. Set Name and Description for the backup.

    Parameter

    Example Value

    Description

    Name

    manualbk_d819

    Name of the backup you are creating.

    A name can contain 1 to 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.

    NOTE:

    You can also use the default name manualbk_xxxx.

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

    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 server. A full backup requires a larger capacity than an incremental backup.

    By default, the first backup is a full backup, and subsequent backups are incremental ones.

    To ensure data security, a full backup will be performed by default after 100 incremental backups.

    For details, see What Are Full Backup and Incremental Backup?

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

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

    • A server can be restarted if the backup progress exceeds 10%. However, to ensure data integrity, restart it after the backup is complete.

Related Information

  • After the backup is complete, you can use the backup to restore server data. For details, see Restoring from a Cloud Server Backup.
  • You can replicate the new vault or expand the vault capacity. For details, see Vault Management.
  • If you need to automatically back up data periodically, you can create a policy and apply it to the vault. For details, see Policy Management.
  • If you need to back up database servers, change the specifications of the target vault from common server backup vault to database server backup vault.
  • You can create an image from a server backup. For details, see Creating an Image from a Cloud Server Backup.