If a system failure occurs or an unexpected operation is performed on an Elastic Compute Service (ECS) instance, you can use the clone or restore feature to restore the ECS instance to a specified point in time. This topic describes how to restore an ECS instance.
Prerequisites
A backup is created for the ECS instance. For more information, see Back up ECS instances.
Use the clone feature to restore an ECS instance
If a system failure occurs or an unexpected operation is performed on an ECS instance, you can use the clone feature to restore the ECS instance to a specified point in time.
Log on to the Cloud Backup console.
- In the left-side navigation pane, choose .
In the top navigation bar, select a region.
- Click the Backed-up ECS Instances tab.
- Click the icon in front of the ECS instance.
- On the Instance Protection tab, click a backup and then click Clone.
- In the Create ECS Instance from Backup panel, enter a hostname and an instance name, and then select a VPC and a vSwitch.
- Click Create. Note You are charged for the new ECS instance based on the billing rules of ECS. For more information, see Pay-as-you-go.After you create the ECS instance, you can view the clone progress on the Jobs tab.
Directly restore an ECS instance
If a system failure occurs or an unexpected operation is performed on an ECS instance, you can use a backup to restore the ECS instance to a specified point in time.
Log on to the Cloud Backup console.
- In the left-side navigation pane, choose .
In the top navigation bar, select a region.
- Click the Backed-up ECS Instances tab.
- Click the Plus sign icon in front of the ECS instance.
- On the Instance Protection tab, click a backup and then click Restore. Important You can restore an ECS instance only when the ECS instance is stopped and no backup is being created for the ECS instance. After a protected disk is restored to a specified point in time, the data that is written to the disk after the point in time is cleared. Proceed with caution.
- In the message that appears, click OK. After you create the restore job, you can view the progress on the Jobs tab.