Azure VM Backup stack V2

Posted by

The other day I was in a project were I had to migrate some OnPrem VM to Azure, I used ASR and it was pretty straightforward to do it, but then the problem began when I need to configure Azure Backup to protect this machine… why? because one of the disks that has the machine, was bigger than 1 TB.

Each time that I tried to fire a backup, the Azure portal returns a Critical error with the following message: Azure Backup does not support the backup of disk size of more than 1024 GB.

So… I started to think which is my next step… I started reading documentation, and for my luck I found something called Azure Backup Stack v2, is the evolution for the recovery services to do more things in Azure. The features included in this new version are:

  • Ability to see snapshots taken as part of a backup job that’s available for recovery without waiting for data transfer to finish. Which it is great, you can recover your snapshot without the need of wait to transfer to the vault
  • Reduces backup and restore times by retaining snapshots locally, for seven days.
  • Support for disk sizes up to 4 TB.
  • Ability to use an unmanaged VM’s original storage accounts, when restoring

So, the only thing that i need to do is to update the stack to the v2, to this you have two options:

  • Go to the recovery vault, click on the properties blade, and search something called, VMBackup and click on “Upgrade”, this will start the process
  • Or you can use PowerShell in order to do it earlier:
    • Register-AzureRmProviderFeature -FeatureName “InstantBackupandRecovery” –ProviderNamespace Microsoft.RecoveryServices
    • Get-AzureRmProviderFeature -FeatureName “InstantBackupandRecovery” -ProviderNamespace Microsoft.RecoveryServices
  • If the process has already finish it, it will show “Registered” instead of “Registering”

FeatureName ProviderName RegistrationState ———– ———— —————– InstantBackupandRecovery Microsoft.RecoveryServices Registered

Once you have done this, don’t try it, you’ll have to wait, at least 2-3 hours (in my case), but if you ask to Microsoft, probably they’ll say that you’ll need to wait at least from 12 to 24 hours.

Once you have waited, try to fire your backup and it will work 🙂 also take into account that the first backup that you’re going to do, will last a long time (it’s a full backup), but the other ones, will be incremental, so it will be faster.

If you need more info about it, I suggest you to read the following MSFT docs: https://docs.microsoft.com/en-us/azure/backup/backup-upgrade-to-vm-backup-stack-v2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s