Coming Soon: GET:IT Endpoint Management 1-Day Conference on September 28th at 9:30 AM ET Coming Soon: GET:IT Endpoint Management 1-Day Conference on September 28th at 9:30 AM ET
Microsoft Azure

Restore Azure Virtual Machine From a Backup Snapshot

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.

 

 

Sponsored Content

Say Goodbye to Traditional PC Lifecycle Management

Traditional IT tools, including Microsoft SCCM, Ghost Solution Suite, and KACE, often require considerable custom configurations by T3 technicians (an expensive and often elusive IT resource) to enable management of a hybrid onsite + remote workforce. In many cases, even with the best resources, organizations are finding that these on-premise tools simply cannot support remote endpoints consistently and reliably due to infrastructure limitations.

Note that you must have upgraded your subscription to use the new snapshot features of Azure Backup.

Background

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:

  • The snapshots are retained for up to 7 days.
  • You can restore virtual machines from the snapshots before the backup data is sent to the recovery services vault.
  • If you want to restore a virtual machine from a backup from the last 7 days, it is quicker to restore it from the snapshot instead of from the recovery services vault.

Restoring a Virtual Machine

In my example, I have started a virtual machine backup. After a few minutes, the status showed that the snapshot was completed:

A backup where the snapshot has completed [Image Credit: Aidan Finn]
A Backup Where the Snapshot Has Completed [Image Credit: Aidan Finn]
 

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.

Selecting a snapshot as a restore point [Image Credit: Aidan Finn]
Selecting a Snapshot as a Restore Point [Image Credit: Aidan Finn]
 

Select the snapshot and click OK.

When you are configuring the restore job, you can:

  • Create a virtual machine.
  • Restore the disks to a storage account.

I chose the option to restore just the disks.

Restore an Azure virtual machines disks from a backup snapshot [Image Credit: Aidan Finn]
Restore an Azure Virtual Machines Disks From a Backup Snapshot [Image Credit: Aidan Finn]
 

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.

Restoring from an Azure virtual machine backup that is still happening [Image Credit: Aidan Finn]
Restoring From an Azure Virtual Machine Backup That Is Still Happening [Image Credit: Aidan Finn]
 

The benefits of this process are:

  • I can start a restore straight after a snapshot is completed.
  • A restore from the last 7 days can be quicker because large data transfers across the network are not required.

Related Topics:

BECOME A PETRI MEMBER:

Don't have a login but want to join the conversation? Sign up for a Petri Account

Register
Comments (0)

Leave a Reply

Aidan Finn, Microsoft Most Valuable Professional (MVP), has been working in IT since 1996. He has worked as a consultant and administrator for the likes of Innofactor Norway, Amdahl DMR, Fujitsu, Barclays and Hypo Real Estate Bank International where he dealt with large and complex IT infrastructures and MicroWarehouse Ltd. where he worked with Microsoft partners in the small/medium business space.
Live Webinar: Active Directory Security: What Needs Immediate Priority!Live on Tuesday, October 12th at 1 PM ET

Attacks on Active Directory are at an all-time high. Companies that are not taking heed are being punished, both monetarily and with loss of production.

In this webinar, you will learn:

  • How to prioritize vulnerability management
  • What attackers are leveraging to breach organizations
  • Where Active Directory security needs immediate attention
  • Overall strategy to secure your environment and keep it secured

Sponsored by: