About Azure VM restore
This article describes how the Azure Backup service restores Azure virtual machines (VMs). There are a number of restore options. We'll discuss the various scenarios they support.
Recovery Point (also known as Restore Point): A recovery point is a copy of the original data that's being backed up.
Tier (snapshot vs. vault): Azure VM backup happens in two phases:
- In phase 1, the snapshot taken is stored along with the disk. This is referred to as snapshot tier. Snapshot tier restores are faster (than restore from vault) because they eliminate the wait time for snapshots to copy to the vault before triggering the restore. So restore from the snapshot tier is also referred as Instant Restore.
- In phase 2, the snapshot is transferred and stored in the vault managed by the Azure Backup service. This is referred to as vault tier.
Original Location Recovery (OLR): A recovery done from the restore point to the source Azure VM from where the backups were taken, replacing it with the state stored in the recovery point. This replaces the OS disk and the data disk(s) of the source VM.
Alternate-Location Recovery (ALR): A recovery done from the recovery point to a server other than the original server where the backups were taken.
Item Level Restore (ILR): Restoring individual files or folders inside the VM from the recovery point
Availability (Replication types): Azure Backup offers three types of replication to keep your storage/data highly available:
- Locally redundant storage (LRS) replicates your data three times (it creates three copies of your data) in a storage scale unit in a datacenter. All copies of the data exist within the same region. LRS is a low-cost option for protecting your data from local hardware failures.
- Geo-redundant storage (GRS) is the default and recommended replication option. GRS replicates your data to a secondary region (hundreds of miles away from the primary location of the source data). GRS costs more than LRS, but GRS provides a higher level of durability for your data, even if there's a regional outage.
- Zone-redundant storage (ZRS) replicates your data in availability zones, guaranteeing data residency and resiliency in the same region. ZRS has no downtime. So your critical workloads that require data residency, and must have no downtime, can be backed up in ZRS.
Cross-Region Restore (CRR): As one of the restore options, Cross Region Restore (CRR) allows you to restore Azure VMs in a secondary region, which is an Azure paired region You can restore your data in the secondary region at anytime, during partial or full outages, or any other time you choose.
|Scenario||What is done||When to use|
|Restore to create a new virtual machine||Restores the entire VM to OLR (if the source VM still exists) or ALR||
|Restore disks of the VM||Restore disks attached to the VM||All disks: This option creates the template and restores the disk. You can edit this template with special configurations (for example, availability sets) to meet your requirements and then use both the template and restore the disk to recreate the VM.|
|Restore specific files within the VM||Choose restore point, browse, select files, and restore them to the same (or compatible) OS as the backed-up VM.||If you know which specific files to restore, then use this option instead of restoring the entire VM.|
|Restore an encrypted VM||From the portal, restore the disks and then use PowerShell to create the VM|
|Cross Region Restore||Create a new VM or restore disks to a secondary region (Azure paired region)||