Hi everybody, Bassel here…
Azure gives you the ability to move your resources between resource groups and subscriptions, this can be done easily but with some limitations depending on the resource type you’re planning to move.
In this post I’m going to illustrate moving Azure virtual machines configured with Azure backup to another resource group or subscription, before start moving the desired VM, some steps should be done to avoid any problems during the process.
1- Find a resource group with name like this AzureBackupRG_eastus_1 depending on your VM location.
2- Inside the selected resource group, you should be able a backup item as below (if there are no resource visible, click Show hidden types)
This resource is generated automatically by Azure once the backup is enabled.
3 -Delete the resource, and if there are many, delete the resource that has your VM name in it.
4-Now you should be able to move the VM without any issue and with no data loss.
5-Re-enable the backup.
The previous steps assume that you’re moving the Recovery Vault alongside the VM, but if you’re planning to move just the VM and protect again with a new vault in the target resource group or subscription, you should first stop the backup
Then complete the steps in the first scenario and everything should be OK.
Ref: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-move-resources
Be First to Comment