A system failure occurs or an unexpected operation is performed on a disk that is attached to an Elastic Compute Service (ECS) instance. In this case, you can use a backup file in the source region or a backup file replicated to the destination region to restore the original disk or create a new disk to restore data. This topic describes how to restore a disk.

Prerequisites

A backup file is created for a disk. For more information, see Create disk backups.

Background information

The disk backup feature can protect all disks that are attached to ECS instances, including the disks that are subsequently attached. You can also use the feature to protect specified disks. To restore a disk, you can use a backup file in the source region or a backup file that is replicated to the destination region.

Restore a disk

If a system failure occurs or an error operation is performed on a disk that is attached to an ECS instance, you can use an existing backup file to restore the ECS disk.

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > Disk Backup.
  3. In the top navigation bar, select a region.
  4. Click the Protected Disk tab.
  5. Click the Plus icon next to the disk that you want to restore.
  6. On the Backups tab, click a backup file in the source region or a backup file that is replicated to a destination region, and click Restore.
    Notice A disk can be restored only if the ECS instance is stopped and no backup file is being created for the disk. After you restore an ECS disk to a point in time, the data that is written to the ECS disk after the point in time is cleared. Proceed with caution.
  7. In the Restore panel, set the Enable Auto Startup parameter and click Create.

Create a disk

If a system failure occurs or an unexpected operation is performed on a disk that is attached to an ECS instance, you can use an existing backup file to restore the disk.

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > Disk Backup.
  3. In the top navigation bar, select a region.
  4. Click the Protected Disks tab.
  5. Click the Plus icon next to the disk that you want to restore.
  6. On the Backups tab, click a backup file in the source region or a backup file that is replicated to a destination region, and click Clone.
  7. In the Clone panel, select a zone and disk type and click Create.
    Notice Backup files that are replicated to a destination region can be used only to restore data.

Replicate the backup file of a disk to a remote region

You can replicate the backup file of a specified disk to a destination region.

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > Disk Backup.
  3. In the top navigation bar, select a region.
  4. Click the Protected Disks tab.
  5. Click the Plus icon next to the disk that you want to restore.
  6. On the Backups tab, click a backup file in the source region or a backup file that is replicated to a destination region, and click Copy.
  7. In the Copy panel, select a destination region, specify a name and description for the backup file, and then click Create.