Frequently asked questions-Back up Azure VMs
This article answers common questions about backing up Azure VMs with the Azure Backup service.
Which VM images can be enabled for backup when I create them?
When you create a VM, you can enable backup for VMs running supported operating systems
Is the backup cost included in the VM cost?
No. Backup costs are separate from a VM's costs. Learn more about Azure Backup pricing.
Which permissions are required to enable backup for a VM?
If you're a VM contributor, you can enable backup on the VM. If you're using a custom role, you need the following permissions to enable backup on the VM:
If your Recovery Services vault and VM have different resource groups, make sure you have write permissions in the resource group for the Recovery Services vault.
What Azure VMs can you back up using Azure Backup?
Review the support matrix for support details and limitations.
Does an on-demand backup job use the same retention schedule as scheduled backups?
No. Specify the retention range for an on-demand backup job. By default, it's retained for 30 days when triggered from the portal.
I recently enabled Azure Disk Encryption on some VMs. Will my backups continue to work?
Provide permissions for Azure Backup to access Key Vault. Specify the permissions in PowerShell as described in the Enable backup section in the Azure Backup PowerShell documentation.
I migrated VM disks to managed disks. Will my backups continue to work?
Yes, backups work seamlessly. There's no need to reconfigure anything.
Why can't I see my VM in the Configure Backup wizard?
The wizard only lists VMs in the same region as the vault, and that aren't already being backed up.
My VM is shut down. Will an on-demand or a scheduled backup work?
Yes. Backups run when a machine is shut down. The recovery point is marked as crash consistent.
Can I cancel an in-progress backup job?
Yes. You can cancel backup job in a Taking snapshot state. You can't cancel a job if data transfer from the snapshot is in progress.
I enabled lock on resource group created by Azure Backup Service (i.e
AzureBackupRG_<geo>_<number>), will my backups continue to work?
If you lock the resource group created by Azure Backup Service, backups will start to fail as there's a maximum limit of 18 restore points.
User needs to remove the lock and clear the restore point collection from that resource group in order to make the future backups successful, follow these steps to remove the restore point collection.
Does the backup policy consider Daylight Saving Time (DST)?
No. The date and time on your local computer is local with current daylight savings applied. The time set for scheduled backups might differ from the local time due to DST.
How many data disks can I attach to a VM backed up by Azure Backup?
Azure Backup can back up VMs with up to 16 disks. Support for 16 disks is provided in the Instant Restore.
Does Azure backup support standard SSD managed disk?
Can we back up a VM with a Write Accelerator (WA)-enabled disk?
Snapshots can't be taken on the WA-enabled disk. However, the Azure Backup service can exclude the WA-enabled disk from backup. Disk exclusion for VMs with WA-enabled disks is supported only for subscriptions upgraded to Instant Restore.
I have a VM with Write Accelerator (WA) disks and SAP HANA installed. How do I back up?
Azure Backup can't back up the WA-enabled disk but can exclude it from backup. However, the backup won't provide database consistency because information on the WA-enabled disk isn't backed up. You can back up disks with this configuration if you want operating system disk backup, and backup of disks that aren't WA-enabled.
We're running private preview for an SAP HANA backup with an RPO of 15 minutes. It's built in a similar way to SQL DB backup, and uses the backInt interface for third-party solutions certified by SAP HANA. If you're interested, email us at
AskAzureBackupTeam@microsoft.com with the subject Sign up for private preview for backup of SAP HANA in Azure VMs.
How do I decide whether to restore disks only or a full VM?
Think of a VM restore as a quick create option for an Azure VM. This option changes disk names, containers used by the disks, public IP addresses, and network interface names. The change maintains unique resources when a VM is created. The VM isn't added to an availability set.
You can use the restore disk option if you want to:
- Customize the VM that gets created. For example, change the size.
- Add configuration settings which weren't there at the time of backup.
- Control the naming convention for resources that are created.
- Add the VM to an availability set.
- Add any other setting that must be configured using PowerShell or a template.
Can I restore backups of unmanaged VM disks after I upgrade to managed disks?
Yes, you can use backups taken before disks were migrated from unmanaged to managed.
- By default, a restore VM job creates an unmanaged VM.
- However, you can restore disks and use them to create a managed VM.
How do I restore a VM to a restore point before the VM was migrated to managed disks?
By default, a restore VM job creates a VM with unmanaged disks. To create a VM with managed disks:
- Restore to unmanaged disks.
- Convert the restored disks to managed disks.
- Create a VM with managed disks.
Learn more about doing this in PowerShell.
Can I restore the VM that's been deleted?
Yes. Even if you delete the VM, you can go to corresponding backup item in the vault and restore from a recovery point.
How to restore a VM to the same availability sets?
For Managed Disk Azure VM, restoring to the availability sets is enabled by providing an option in template while restoring as managed Disks. This template has the input parameter called Availability sets.
How do we get faster restore performances?
For faster restore performance, we are moving to Instant Restore capability.
Manage VM backups
What happens if I modify a backup policy?
The VM is backed up using the schedule and retention settings in the modified or new policy.
- If retention is extended, existing recovery points are marked and kept in accordance with the new policy.
- If retention is reduced, recovery points are marked for pruning in the next cleanup job, and subsequently deleted.
How do I move a VM backed up by Azure Backup to a different resource group?
- Temporarily stop the backup, and retain backup data.
- Move the VM to the target resource group.
- Re-enabled backup in the same or new vault.
You can restore the VM from available restore points that were created before the move operation.
Send feedback about: