Updated on 2024-03-01 GMT+08:00

Creating a Full-ECS Image from a CBR Backup

Scenarios

You can use a Cloud Backup and Recovery (CBR) backup to create a full-ECS image, which can be used to create ECSs.

Background

  • The Cloud Backup and Recovery (CBR) service provides backup services for EVS disks, ECSs, and BMSs, and supports restoring data of servers and disks using backups. If you have created a backup for an ECS using CBR, you can use the backup to create a full-ECS image.
  • If you use a full-ECS image to change an ECS OS, only the system disk data can be written into the ECS. Therefore, if you want to restore or migrate the data disk data of an ECS by using a full-ECS image, you can only use the image to create a new ECS rather than use it to change the ECS OS.

Constraints

  • When creating a full-ECS image from a CBR backup, ensure that the source ECS of the CBR backup has been properly configured, or the image creation may fail.
  • A CBR backup can be used to create only one full-ECS image.
  • If an ECS is in Stopped state, do not start it when you are using it to create a full-ECS image.
  • A full-ECS image cannot be exported, replicated, or shared.

Procedure

  1. Access the IMS console.

    1. Log in to the management console.
    2. Under Computing, click Image Management Service.

      The IMS console is displayed.

  2. Create a full-ECS image.

    1. Click Create Image in the upper right corner.
    2. In the Image Type and Source area, select Full-ECS image for Type.
    3. Select Cloud Server Backup for Source and then select a backup from the list.
      Figure 1 Creating a full-ECS image using a CBR backup
    4. In the Image Information area, configure basic image details, such as the image name and description.
    5. Click Create Now.
    6. Confirm the settings and click Submit.

  3. Switch back to the Image Management Service page to monitor the image status.

    When the image status changes to Normal, the image creation is complete.

Follow-up Procedure

After the full-ECS image creation is complete, you can perform the following operations:

  • If you want to use the image to create ECSs, click Apply for Server in the Operation column. On the displayed page, select Private image and then select the created full-ECS image. For details, see Elastic Cloud Server User Guide.

    When you use a full-ECS image to create an ECS:

    • The system and data disk information defaulted by the image will be automatically displayed.
    • If the full-ECS image contains multiple data disks, it takes some time to load and display the disk information.
  • If you want to share the image with other tenants, click More in the Operation column and select Share from the drop-down list. In the displayed dialog box, enter the account names of the image recipients.
  • If you use a full-ECS image to change an ECS OS, only the system disk data can be written into the ECS. Therefore, if you want to restore or migrate the data disk data of an ECS by using a full-ECS image, you can only use the image to create a new ECS rather than use it to change the ECS OS.