Help Center/ Cloud Backup and Recovery/ User Guide (Paris)/ Restoring Data/ Creating an Image from a Cloud Server Backup
Updated on 2024-03-25 GMT+08:00

Creating an Image from a Cloud Server Backup

CBR allows you to create images using ECS backups. You can use the images to provision ECSs to rapidly restore service running environments.

You can also use server backups to create images and then provision servers to restore data if your servers were accidentally deleted.

CBR cross-region replication allows you to replicate backups to destination regions and then create images. You can use the images to provision ECSs.

Prerequisites

  • The ECS has been optimized before being backed up, and the Cloud-Init (for Linux) or Cloudbase-Init (for Windows) tool has been installed.
  • The backup is in the Available state, or the backup is in the Creating state that is marked with "Image can be created."

    Once a backup creation starts, the backup enters the Creating state. After a period of time, a message stating "Image can be created" is displayed under Creating. In this case, the backup can be used for creating an image, even though it is still being created and cannot be used for restoration.

  • The backup contains the system disk data.

Notes

  • Images created using a backup are the same, so CBR allows you to use a backup to create only one full-ECS image that contains the whole data of the system disk and data disks of an ECS, in order to save the image quota. After an image is created, you can use the image to provision multiple ECSs in a batch.
  • A backup with an image created cannot be deleted directly. To delete such a backup, delete its image first. If a backup is automatically generated based on a backup policy and the backup has been used to create an image, the backup will not be counted as a retained backup and will not be deleted automatically.
  • A backup is compressed when it is used to create an image, so the size of the generated image may be smaller than the backup size.

Procedure

  1. Log in to the CBR console.

    1. Log in to the management console.
    2. Click in the upper left corner and select a region.
    3. Click and choose Storage > Cloud Backup and Recovery. Select a backup type from the left navigation pane.

  2. Click the Backups tab. Locate the desired backup. For details, see Viewing a Backup.
  3. In the row of the backup, choose More > Create Image.

  4. Create an image by referring to section "Creating a Full-ECS Image from a CBR Backup" in the Image Management Service User Guide.
  5. Use the image to provision ECSs when needed. For details, see section "Creating an ECS from an Image" in the Image Management Service User Guide.