Updated on 2024-04-18 GMT+08:00

Backing Up an ECS

Scenarios

CBR enhances data integrity and service continuity. For example, if an ECS or EVS disk is faulty or a misoperation causes data loss, you can use data backups to quickly restore data. This section describes how to back up ECSs and EVS disks.

For more information, CBR Architecture, Backup Mechanism, and Backup Options.

You can back up ECS data using Cloud Server Backup or Cloud Disk Backup.
  • Cloud Server Backup (recommended): Use this backup function if you want to back up the data of all EVS disks (system and data disks) on an ECS. This prevents data inconsistency caused by time difference in creating a backup.
  • Cloud Disk Backup: Use this backup function if you want to back up the data of one or more EVS disks (system or data disk) on an ECS. This minimizes backup costs on the basis of data security.

ECS Backup Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, choose Elastic Cloud Server.
  4. In the ECS list, locate the target ECS and choose More > Manage Disk/Backup > Create Server Backup.
    • If the ECS has been associated with a vault, configure the backup information as prompted.
      • Server List: The ECS to be backed up is selected by default.
      • Name: Customize your backup name.
      • Description: Supplementary information about the backup.
      • Full Backup: If this option is selected, the system will perform full backup for the ECS to be associated. The storage capacity used by the backup increases accordingly.
    • If the ECS is not associated with a vault, buy a vault first and then configure the backup information as prompted.

      For details, see Purchasing a Server Backup Vault.

  5. Click OK. The system automatically creates a backup for the ECS.

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

    The ECS can be restarted if the backup progress of an ECS exceeds 10%. However, to ensure data integrity, restart it after the backup is complete.

    After the backup is complete, you can restore server data or create images on the Backups tab page. For details, see Restoring Data Using a Cloud Server Backup and Using a Backup to Create an Image.

EVS Disk Backup Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, choose Elastic Cloud Server.
  4. In the ECS list, locate the target ECS and choose More > Manage Disk/Backup > Create Disk Backup.
    • If the ECS has been associated with a vault, configure the backup information as prompted.
      • Server List: The ECS to be backed up is selected by default. Click to view the disks attached to the ECSs. Select the disks to be backed up.
      • Name: Customize your backup name.
      • Description: Supplementary information about the backup.
      • Full Backup: If this option is selected, the system will perform full backup for the disks to be associated. The storage capacity used by the backup increases accordingly.
    • If the ECS is not associated with a vault, buy a vault first and then configure the backup information as prompted.

      For details, see Purchasing a Disk Backup Vault.

  5. Click OK. The system automatically creates a backup for the disk.

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

    If some files are deleted from the disk during the backup, the deleted files may fail to be backed up. Therefore, to ensure data integrity, delete the target data after the backup is complete.

    After the backup is complete, you can restore disk data on the Backups tab page. For details, see Restoring Data Using a Cloud Disk Backup.

Follow-up Procedure

After the backup is successful, you can view the backup details.

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, choose Elastic Cloud Server.
  4. In the ECS list, click the name of the target ECS to go to the details page.
  5. View the backup details.
    1. On the displayed page, view the backup name and time in the Cloud Backup and Recovery area in the lower right corner.
      Figure 1 Cloud backup and recovery area
    2. Click a backup name to go to the backup details page of the CBR console.
      Figure 2 Backup details

      On the Details page, you can view the backup name, ID, status, AZ, creation time, vault, as well as server details.

    For more information, see Viewing a Backup.

  6. On the ECS details page, click the Cloud Backup and Recovery tab to view the backup details and billing information.
    Figure 3 Cloud backup and recovery details