Skip to navigation

Compute Engine: Restore a Disk

Who can use this feature

Anyone with these permissions: Restore resources

When a Google Compute Engine disk is lost or damaged, you can restore just that disk from an Eon snapshot, as it was when the snapshot was taken, without restoring the virtual machine (VM) it was attached to. Eon creates the restored disk in your restore project, in the region and zone you choose, and you can change its encryption, disk settings, and labels along the way.

This article explains how to restore a disk from your Eon snapshots in the Eon console.

To replace the disks of the existing VM with the disks from a snapshot, see Compute Engine: Restore Disks in Place.

Restore the disk

Before you start

Before you restore a Compute Engine disk, make sure:

  • Hyperdisk Extreme quota: With standard restore, if you restore Hyperdisk Extreme disks, the restore project has a regional virtual CPU quota of 88 (C3) or 80 (N2) for each Extreme disk in the region you restore to, available at the same time as the others in the restore.

  • Your snapshot and source disk meet the requirements in Restore support notes.

  • If the disk is Hyperdisk Balanced High Availability, the restore job fails when no other zone in the region offers Hyperdisk Balanced.

1

Find the snapshot you want to restore

  1. In your inventory, select the Compute Engine resource whose disk you want to restore. The Resource details panel opens.

  2. Click the Eon snapshots tab. You’ll see a calendar view with colored dots on the days when snapshots were taken. There can be more than one snapshot per day.

    When you click a day, a list of Eon snapshots taken that day is displayed below the calendar.

  3. Expand the snapshot you want to restore. Click Specific disk, select the disk you want to restore, and then click Restore. The Restore disk wizard opens.

2

Choose the restore project

In the Restore account step, select the restore project you want to restore the disk to, and then click Next.

3

Set the restored disk details

Choose a Region and Zone to deploy the restored disk to.

Encryption

To encrypt the restored disk with a customer-managed encryption key (CMEK), turn Encrypt this disk on, and then select a key from Customer-managed encryption key (CMEK).

Disk settings

With Keep original settings on, the restored disk keeps the original disk’s type, size, IOPS, and throughput, and Eon names it the original disk’s name followed by -restored. To change any of these, turn Keep original settings off, and then set these:

  • Disk Name: The name of the restored disk.

  • Disk Type: The type of the restored disk. The list shows only the types that the zone you chose supports.

  • Size (GiB): The size of the restored disk.

  • IOPS: The IOPS of the restored disk.

  • Throughput (MB/s): The throughput of the restored disk.

For Hyperdisk Balanced and Hyperdisk Balanced High Availability disks, set both IOPS and Throughput (MB/s), or neither. The console always sends both and refits them when you change Size (GiB) or Disk Type, so “neither” applies only to requests that don’t use the console.

The Disk Type list also hides the types that the source VM’s machine type can’t attach.

Labels

To set labels on the restored disk, turn Keep original tags off and add them. This wizard calls GCP labels tags.

Eon also labels the restored disk with eon-restore=true.

4

Start the restore job

Click Restore to start the asynchronous restore job.

You can see your list of restore jobs on the Restore jobs tab in the Jobs page.

When the restore job completes, the restored disk is ready in your restore project.

See also