Roll back a cloud disk

Last Updated: May 17, 2018

When errors occur to a cloud disk, if you have created snapshots for it, you can use the Disk Rollback feature to restore the disk to a healthy status at a given time point.

Note

Before you roll back a cloud disk, consider the following:

  • Rolling back a cloud disk is an irreversible action. Once rollback is complete, data cannot be restored. Therefore, proceed with caution.

  • After the disk is rolled back, data from the creation date of the snapshot to the rollback date is lost.

  • After a system disk is restored, the logon password or the SSH key pair of the ECS instance is retained.

Prerequisites

Before rolling back a cloud disk, ascertain the following:

  • A snapshot is created for the cloud disk, and no snapshot creation is in progress.

  • The cloud disk has not been released.

  • The cloud disk has been attached to an ECS instance and the instance is in the Stopped status.

    Note: For a Pay-As-You-Go VPC-Connected ECS instance, if the No fees for stopped instances (VPC-Connected) feature is enabled, to stop an instance, in the Notice dialog box, click OK. Then in the Stop dialog box, select Keep Instance with Fees and click OK to stop the instance in the Keep Instance, Fees Apply mode. Otherwise, you may not be able to start the instance successfully after you roll back the cloud disk.

    Keep instance with fees

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, click Instances.

  3. Select a region.

  4. Find an instance and click its ID to go to the Instance Details page.

  5. In the left-side navigation pane, click Instance Snapshots.

  6. Find a snapshot, and in the Actions column, click Disk Rollback.

  7. In the dialog box, click OK.

    Note: If you select Start the instance immediately after the rollback, the instance starts automatically after the disk is restored.

ResetDisk

Follow-up operations

If you resize a cloud disk after creating a snapshot, connect to the instance to resize its file system. For more information, see Linux _ Resize a data disk or Windows _ Resize a data disk.

Thank you! We've received your feedback.