When working on migrations from datacenter to datacenter you often move the backup to a file storage keep it as archive. but when moving from Azure to Azure subscription that seems a bit more complicate. Well you could use Azure Recource mover. but that is no fun and In this case Powershell is so much easier.

In the old subscription I have a couple of Recovery servers vaults. I need them as Archive. First I made sure that all backups are stopped from the VM’s

Now logon to the Source Subscription
$destinationRG = “rg-weu-backup-demo-01”
$vault = Get-AzRecoveryServicesVault -Name demo-vault-01 – ResourceGroupName rg-demoold-weu-demo-01

this gets the proper info that we need
Next we do the move action be aware this took some time ( couple of minutes)
Move-AzResource -DestinationSubscriptionId “your subscription id” -DestinationResourceGroupName $destinationRG -ResourceId $vault.ID -Verbose


As I did not use the verbose I did not see anything.
When I checked the backup center and the resource group all the data was there quick and easy.
Hope it was helpful thanks for visiting my blog.
Follow Me on Twitter @ClusterMVP
Follow My blog https://robertsmit.wordpress.com
Linkedin Profile Http://nl.linkedin.com/in/robertsmit
Author: Robert Smit [MVP]
Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues.
A customer says ” Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. ”
Details of the Recommendation: “I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project
View all posts by Robert Smit [MVP]
