> This page is for Data Protection.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.eon.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.eon.io/_mcp/server.

# Azure VM: Restore Disks in Place

Restoring the disks of an existing Azure VM in place returns it to the state of an Eon snapshot without creating a new VM.
The VM keeps its ID, network interfaces, private IP addresses, and configuration.

This article explains how to restore the disks of an Azure VM in place from the Eon console.

To restore into a new VM instead, see [Azure VM: Restore a VM].
To restore a single disk as a new disk, see [Azure VM: Restore a Disk].

[Azure VM: Restore a VM]: /data-protection/restoring/restore-cloud-workloads/azure/virtual-machines/restore-a-vm

[Azure VM: Restore a Disk]: /data-protection/restoring/restore-cloud-workloads/azure/virtual-machines/restore-a-disk

## Restore the disks of a VM

You can start from the

inventory

page in the Eon console.

> **Warning**
>
> Eon deallocates the VM while it swaps the disks, which interrupts anything running on it.
> Deallocating releases a dynamic public IP address and discards data on the VM's temporary disk.
> The wizard doesn't warn about either.

#### Before you start

Before you restore the disks of a VM in place, make sure:

* The restore subscription is connected for the Azure subscription that contains the VM.
  If it's limited to one resource group, that group contains the VM.
  Its permissions version is 1.17.0 or later, which includes the permission Eon needs to start the VM after the swap.
  A restore subscription whose version Eon hasn't detected can't restore disks in place.
  It also has restore permissions turned on for VMs.

* A [restore account has been connected] to your Eon account.

[restore account has been connected]: /data-protection/restoring/restore-accounts/about-restore-accounts

* The VM is an Azure virtual machine, not a SQL Server on Azure VM, and it's running or stopped and isn't in a scale set.
  It has no ephemeral OS disk, no disks that aren't managed disks, and doesn't use Azure Disk Encryption.

#### Find the snapshot you want to restore

1. In your

   inventory

   , select the Azure VM whose disks 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.
   Under **What do you want to restore?**, select **Restore disks in place**, and then click **Restore**.
   The **Restore disks in place** wizard opens.

#### Choose the disks to restore

In the **Disks** step, Eon chooses the restore account and runs a plan check on the live VM.
The read-only **Restore account** block shows the name of the restore account Eon uses.
The plan check lists each disk of the snapshot in a table.

| Column            | Shows                                                                                                                                                                                                                                                                                                                        |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Slot**          | The boot or data slot the restored disk takes, such as `Boot` or `LUN 2`.                                                                                                                                                                                                                                                    |
| **Snapshot disk** | The ID of the disk in the snapshot.                                                                                                                                                                                                                                                                                          |
| **Attached now**  | The disk in that slot on the VM now.                                                                                                                                                                                                                                                                                         |
| **Status**        | **Same disk** when the snapshot's disk is still in its slot, **Different disk** when Eon matched the slot by name only or the LUN you entered is held by another disk, **Empty slot** when no disk is in the slot, or **LUN needed** when the snapshot's disk is no longer attached and the snapshot doesn't record its LUN. |
| **Size**          | The size the restored disk gets. When it differs from the disk it replaces, the column shows both sizes.                                                                                                                                                                                                                     |

1. Review the plan check results.
   If **This VM's disks can't be restored in place** appears, the VM has a blocker.
   If a disk can't be restored, it's listed with the reason and can't be selected.
   For what each result means, see [Plan check results](#plan-check-results).

2. Clear the disks you don't want to restore.
   Eon selects every disk that can be restored.

3. For a data disk marked **LUN needed**, enter a LUN under **LUNs of the restored disks**.
   The disk isn't attached to the VM now and the snapshot doesn't record its LUN, so you choose the LUN to attach the restored disk at.
   Choose a whole number that no other disk on the VM uses.

4. Click **Next**.

Disks that were added to the VM after the snapshot was taken appear under **Stays attached**.
Eon doesn't touch them.

#### Review and start the restore

In the **Review** step, Eon summarizes how many of the snapshot's disks it restores into the VM, and shows the **Restore account** block again.

1. Select the checkbox for each warning under **Acknowledge before you continue**.
   The warnings that appear depend on the VM and your selection.

2. To choose whether the VM is running after the restore, turn **Start instance after restore** on or off.
   If you don't change the switch, Eon starts the VM after the swap only when the VM was running just before Eon stopped it.

3. Click **Restore disks**.
   Eon starts the asynchronous restore job.

If the VM's disks change while you review them, or Eon would now choose a different restore account, Eon asks you to review the changes or plan the restore again before you can restore.

You can monitor the restore job on the

Restore jobs tab

in the Jobs page.
The job type is **VM in-place disk restore**.

When the restore job succeeds, the restored disks are in the same slots as the disks they replaced.
The VM is running only if Eon started it.

## Plan check results

The plan check reads the VM live, so the result reflects its disks at the moment you open the wizard.
The wizard words each blocker and warning slightly differently from the descriptions below.

### Restore account

You don't choose the restore account.
Eon considers the restore subscriptions connected for the Azure subscription that contains the VM, either for the whole subscription or for the VM's resource group.
Of these, it keeps the active ones in the project that your role allows as a restore destination.
Eon swaps the disks with the one that passes every check.
When a subscription-wide restore subscription and one limited to the VM's resource group both pass, Eon uses the one limited to the resource group.

When no restore account passes every check, the plan check lists the blockers of the restore account closest to working, together, under **This VM's disks can't be restored in place**.
When your role allows none of the restore accounts, the plan check fails with **You can't restore this VM's disks in place: permission denied: restore account access restricted by role**.
Ask an administrator to change your role's restore destination limits.

### VM blockers

A blocker at this level disables the restore for every disk.

| Blocker                                                                           | What to do                                                                                              |
| --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| The VM no longer exists.                                                          | Restore into a new VM instead.                                                                          |
| The VM is starting, stopping, or changing state.                                  | Wait until the VM is running or stopped, and then run the plan check again.                             |
| No restore account is connected for the VM's cloud account.                       | Connect a restore subscription for the VM's subscription or for its resource group, and then try again. |
| The restore account of the VM's subscription is scoped to another resource group. | Connect a restore subscription for the VM's subscription or for its resource group, and then try again. |
| The restore account's role predates in-place disk restore.                        | Update the restore subscription's permissions to version 1.17.0 or later, and then try again.           |
| The restore account doesn't allow in-place disk restore.                          | Update the restore subscription with restore permissions turned on for VMs, and then try again.         |
| Another in-place restore of this VM is still running.                             | Wait for the other restore to finish.                                                                   |
| A scaling group manages the VM and would replace or restart it.                   | Use [Azure VM: Restore a VM] instead.                                                                   |
| The VM uses an ephemeral OS disk.                                                 | Use [Azure VM: Restore a VM] instead.                                                                   |
| The VM has disks that aren't managed disks, and those aren't supported.           | Use [Azure VM: Restore a VM] instead.                                                                   |
| The VM uses Azure Disk Encryption.                                                | Use [Azure VM: Restore a VM] instead.                                                                   |

### Disk blockers

A disk blocker disables only the affected disk.
The wizard lists it with the disk's ID and the reason it can't be restored, and you can restore the VM's other disks.

| Blocker                                                                             | What to do                                                                             |
| ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| The OS disk of a Trusted Launch or Confidential VM can't be restored in place.      | Restore the VM's data disks in place, or use [Azure VM: Restore a VM] for the OS disk. |
| Ultra disks aren't supported.                                                       | Restore the disk as a new disk with [Azure VM: Restore a Disk].                        |
| The snapshot's OS disk is larger than the VM's OS disk.                             | Use [Azure VM: Restore a VM] instead.                                                  |
| The disk is shared with other VMs, so detaching it wouldn't take it away from them. | Restore the disk as a new disk with [Azure VM: Restore a Disk].                        |

### Warnings to acknowledge

A warning doesn't block the restore.
You acknowledge each warning that applies on the **Review** step before you can start.

| Warning                                                                                                                | Shown when                                                                           |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| Eon stops the VM while it swaps the disks.                                                                             | Every restore.                                                                       |
| Not every disk of the snapshot is selected. A file system or volume group that spans disks may come back inconsistent. | You leave out any of the snapshot's disks.                                           |
| A slot holds a different disk than the one the snapshot recorded. That disk is detached and kept.                      | The disk in a slot isn't the one the snapshot recorded, or was matched by name only. |

## What happens during the restore

Eon restores the data first, so the VM is unavailable only while Eon swaps the disks:

1. Eon restores each selected disk from the snapshot into a new disk while the VM keeps running.

2. Eon skips the scheduled backups and scans of the VM that haven't started yet.
   They appear as [Skipped] in the job list.
   If a backup of the VM has already started, Eon waits until it has captured the disks, which usually takes a few minutes.

3. Eon checks the VM's disks again.
   If they changed since you reviewed them, the restore fails before it stops the VM.

4. Eon stops the VM, detaches the selected disks, and attaches the restored disks in the same slots.

5. Eon starts the VM if you chose to, or if you left the switch unchanged and the VM was running before the stop.

Disks that you didn't select stay attached and aren't changed.

## Backups and scans after the restore

For one hour after the restore, Eon holds the scheduled backups and scans of the VM.
When the hour ends, a held scheduled backup runs if its schedule window is still open.
If the window has closed, the backup appears as [Skipped].

On-demand backups aren't held.
Starting an on-demand backup of the VM ends the hold early.

[Skipped]: /data-protection/backup-and-protection/backup-management/backup-job-statuses

## What happens to the original disks

Eon keeps each original disk, detached and marked with the job ID, and never deletes it.
The originals stay in your account and incur cost until you delete them.
Eon tags each detached original disk with `eon:in-place-restore:job-id`, `eon:in-place-restore:vm-id`, and `eon:in-place-restore:slot`.

The restore job's details list each swap under **Disk swap**: the **Slot**, the **Original disk (kept)**, and the **Restored disk**.
The state next to the VM's ID is **Swapped** after a successful restore.
While the swap runs it shows **Swap in progress**.
If a job ends while it still shows that state, check which disks are attached to the VM.

There's no way to revert a restore in Eon.
To go back to an original disk, stop the VM, detach the restored disk from the slot that **Disk swap** lists, and attach the original there.

## If the restore fails

What Eon does depends on how far the restore got:

* **Before Eon stops the VM**: The VM isn't changed, and Eon deletes the disks it restored.

* **After the stop, before the swap**: Eon starts the VM if it was running before, and deletes the disks it restored.

* **During the swap**: Eon puts the original disks back in their slots, starts the VM if it was running before, and deletes the disks it restored.
  The job's **Disk swap** state is **Original disks put back**.

* **If Eon can't put the original disks back**: The state is **Putting the originals back failed**, and Eon deletes nothing.
  The original disks and the restored disks are both kept, so you can attach the ones you want.
  The VM stays stopped.

* **If the VM doesn't start again after Eon puts the original disks back**: The job fails and the VM stays stopped.
  Eon doesn't delete the restored disks.
  Start the VM yourself.

* **If the VM doesn't start after a successful swap**: The job fails and the VM keeps the restored disks.
  Start the VM yourself, or stop it, detach the restored disks, and attach the original disks.