I recently started using Azure Recovery Services vault to backup our Azure VMs.

It worked so well that I'm considering using it to clone existing VMs to save myself setup time when I need a new one.

However, I cannot figure out how to restore a backup to a different data center.

When you use the UI to perform a restore, you are given an option to pick a Resource Group, Virtual Network, Subnet, and Storage account, but the data center stays the same as the one where the VM was backed up.

I've looked at the Powershell commands for Recovery Services Vaults but I have not discovered a way to specify the data center.

Is this possible? If so, how?

  • Is your backup vault in geo-replication mode? – CtrlDot Jul 30 '16 at 2:18
  • yes, geo-replicated – Zack Jul 31 '16 at 14:19

With the introduction of Cross-Region Restore (CRR) you can restore your Azure VM backed up using Azure backup to a secondary region. Reference URL - https://azure.microsoft.com/en-in/blog/cross-region-restore-crr-for-azure-virtual-machines-using-azure-backup/

| improve this answer | |
  • i saw this. is it still in preview? this will solve several issues for me. – Zack May 7 at 23:29
  • Yes, it is still in preview. If you've any feedback/idea, please share it on the feedback forum - feedback.azure.com/forums/… – SadiqhAhmed-MSFT May 11 at 3:58

You can only backup/restore VMs within the same datacenter. Best way is to create an image of your VM and copy the generated vhd to a new storage in the secundary datacenter. I like the following approach if you are using ARM:

How to capture a Windows virtual machine in the Resource Manager deployment model

The good thing about resource explorer is that it generates the .json file necessary to recreate the same environment. You can then use it to redeploy the VM in a new region by basically changing a few variables like vhd, storage path and location.

For classic VMs:

Capture an image of an Azure Windows virtual machine created with the classic deployment model

| improve this answer | |

There is another way to restore the VM from backup to different region.

First restore VM disks from backup using the following MS KB article. https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#restore-backed-up-disks

Then move the vhd files of VM from one region storage account different region storage account.(You can do this manually by using Azure Storage explorer tool or by using the AzCopy tool)

After moving, create a VM from storage vhd using below MS KB article. https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-automation#restore-an-azure-vm

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.