Last Update: Sep 04, 2024 | Published: Apr 05, 2018
In this post, I will show you how you can restore an Azure virtual machine from a snapshot, using the recent update that was rolled out to Azure Backup.
Note that you must have upgraded your subscription to use the new snapshot features of Azure Backup.
If you have upgraded your Azure subscription, Azure Backup will change how backups are completed. Step 1 will create a snapshot. Step 2 will transmit the differences from the last backup to the recovery services vault. What does change is:
In my example, I have started a virtual machine backup. After a few minutes, the status showed that the snapshot was completed:
At this time, I can browse to the virtual machine, click Backup > Restore VM, and then select a restore point. The just-completed snapshot will be listed as an option along with the traditional vault backups. Any scheduled snapshots from the last 7 days will also be listed.
Select the snapshot and click OK.
When you are configuring the restore job, you can:
I chose the option to restore just the disks.
When I complete the restore job (click Restore), the restore does not transmit any data from the recovery services vault (block blob storage) across the network, which is a slow process. Instead, the snapshot is used to rebuild the files of the virtual machine on the same storage cluster.
In my example, I get to see a previously unheard of (and bad) situation: I am restoring from a backup that is still happening! This isn’t a problem; the backup has moved on to copying the backup data from the local snapshot to the recovery services vault. This means that the recovery services vault is safe to use, so the restore is able to use the local snapshot.
The benefits of this process are: