Using Backups to Create Images
CSBS allows you to create images using ECS backups. You can use the images to provision ECSs for fast restoring the service running environment.
Prerequisites
- The following operations have been performed before you use an ECS's backup to create an image:
- You have optimized the Linux ECS (referring to (Optional) Optimizing a Linux Private Image) and installed Cloud-Init (referring to Installing Cloud-Init).
- You have optimized the Windows ECS (referring to (Optional) Optimizing a Windows Private Image) and installed Cloudbase-Init (referring to Installing Cloudbase-Init).
- The backup you want to use to create an image meets either of the following two conditions:
- The backup is in the Available state.
- The backup is in the Creating state which is marked with Image can be created.
Once a backup creation starts, the backup enters the Creating state. After a while, 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 you want to use to create an image contains the system disk data.
Description
- Images created from a backup are the same, so CSBS allows you to use a backup to create only one full-ECS image that contains the whole data of the ECS's system disk and data disks, 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 manually or automatically. If you want 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.
Procedure
- Log in to the CSBS management console.
- Log in to the management console.
- Under Storage > Cloud Server Backup Service.
- Click the Backups tab and locate the desired server backup. For details, see Viewing a Backup.
- In the row of the backup, click Create Image.
- Create an image by referring to Creating a Full-ECS Image Using a CSBS Backup.
- If you want to use an image to provision ECSs, see Creating ECSs Using an Image.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot