Back Up and Restore VMs with Azure Backup

Lab Steps

Logging into the Microsoft Azure Portal
Creating an Azure Recovery Services Vault
Connecting to the Virtual Machine (RDP)
Installing IIS on the Lab VM with PowerShell
Backing Up the Lab VM with Azure Backup
Performing a Restore Operation on Lab VM with Azure Backup

Ready for the real environment experience?

Time Limit1h
star star star star star


Azure Backup is a service for backing up your data in Azure. You can back up Linux and Windows VMs running in Azure with Azure Backup as well as on-premises servers. Azure Backup can be used for more than just backing up machines but this lab focuses on VM backups.

You will use Azure Backup to backup a Windows Server VM running IIS in this lab. You will configure a backup schedule and retention periods using a backup policy. You will finish by restoring the VM back to an earlier state by performing a restore operation. Along the way you will learn the key concepts of Azure Backup.

Learning Objectives

Upon completion of this lab you will be able to:

  • Back up and restore virtual machines running in Azure
  • Configure backup policies to schedule backups and define data retention periods
  • Understand how snapshots are created using an Azure Backup VM extension
  • Evaluate the different options available for restoring including in-place instant restores, restore to disks, and restore to new VMs
  • Describe the default consistency level for Windows and Linux VMs in Azure Backup

Intended Audience

This lab is intended for:

  • Azure administrators
  • AZ-103 exam candidates
  • Anyone responsible for backup and retention of virtual machines


You should be familiar with:

  • Azure VM and Storage Account basics


October 22nd, 2019 - Converted end of lab validation step to validation at the end of each relevant lab step

Environment before
Environment after

About the Author

Learning paths12

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), Linux Foundation Certified System Administrator (LFCS), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.