Move Backups In Recovery Service Vault From LRS/GRS To ZRS While Not Preserving The Data
Published Aug 17 2023 12:00 AM 3,513 Views
Microsoft

Introduction

Hello everyone, Andrew Coughlin here and I am a Cloud Solutions Architect at Microsoft focusing on Azure Infrastructure. I have frequently received questions from customers about how to move their virtual machines from an LRS/GRS recovery services vault to a recovery services vault that supports ZRS. As a reminder we have three options for storage replication for recovery services vaults:

  • LRS - copies your data synchronously three times within a single physical location in the primary region. LRS is the least expensive replication option but isn't recommended for applications requiring high availability or durability.
  • GRS - copies your data synchronously three times within a single physical location in the primary region using LRS. It then copies your data asynchronously to a single physical location in the secondary region. Within the secondary region, your data is copied synchronously three times using LRS.
  • ZRS - copies your data synchronously across three Azure availability zones in the primary region.

 

When you create recovery services vaults you have the option to set the storage replication type after it is created. However, once you start backing up virtual machines to the vault you are unable to change the storage replication of that vault. There is not a way to move the backup data from one recovery services vault to another. To move this data, it requires you to disable the current backup and then configure the vm to a new recovery services vault with ZRS configured. Following this procedure does not keep your existing backup data, if you have requirements to keep your existing backup data, please visit Move backups in Recovery Service Vault from LRS/GRS to ZRS while preserving the data - Microsoft Com....

 

The first backup of the ZRS vault will be an initial replica. You will be able to restore the VM from the LRS/GRS vault if needed.

 

In this article we will go through the steps needed to move a VM from one vault to another vault while not preserving previous backed-up data.

 

Reference Articles

Disable Soft Delete

  1. Click on the Search in the portal top middle.
  2. Type backup center, then click on Backup Center.
  3. Click on Vaults > then select the vault that contains the virtual machine you want to move.

AndrewCoughlin_1-1692188508513.png

 

 

  1. Click on Properties.
  2. Click Update
  3. Uncheck the soft delete settings.
  4. Click Update.

AndrewCoughlin_2-1692188508521.png

 

 

  1. Continue to the next step.

 

Disable / Delete Current Backup

For this article I already have a Virtual Machine and Recovery Services Vault created and configured for GRS storage replication. Backups are configured for the virtual machine and there is one recovery point created.

 

  1. Click on the Search in the portal top middle.
  2. Type backup center, then click on Backup Center.

AndrewCoughlin_3-1692188508522.png

 

  1. Click on Vaults > then select the vault that contains the virtual machine you want to move.

AndrewCoughlin_4-1692188508525.png

 

 

  1. Find the virtual machine you want to move.
  2. Click on the …
  3. Click Stop Backup.

AndrewCoughlin_5-1692188508529.png

 

  1. For Stop Backup Level make sure it is set to Delete backup data.
  2. Provide the name of backup item, reason, comment.

 

NOTE: By selecting Delete backup data, you will be removing recovery points.

 

  1. Click Stop Backup.

AndrewCoughlin_6-1692188508530.png

 

 

  1. You will repeat steps 4 – 9 for each machine you need to move.
  2. Once completed, move to the next step.

Create Recovery Service Vault with ZRS

  1. Go back to Backup Center.
  2. Click + Vault.

AndrewCoughlin_7-1692188508534.png

 

 

  1. Select Recovery Services vault.
  2. Click Continue.

AndrewCoughlin_8-1692188508536.png

 

 

  1. Select Subscription.
  2. Select or create a Resource Group.
  3. Provide the Vault Name.
  4. Provide Region.
  5. Click Next.

AndrewCoughlin_9-1692188508538.png

 

 

  1. Select Vault properties and click Next.

AndrewCoughlin_10-1692188508540.png

 

 

  1. Select Networking properties and click Next.

AndrewCoughlin_11-1692188508543.png

 

 

  1. Provide Tags that are required and click Next.

AndrewCoughlin_12-1692188508545.png

 

 

  1. Click Create.

AndrewCoughlin_13-1692188508547.png

 

 

  1. Navigate to the recovery services vault you just create.
  2. Click on Properties > Update.
  3. Click Zone-redundant > Click Save.

AndrewCoughlin_14-1692188508553.png

 

 

  1. Depending on how many vaults you need you may need to complete steps 2 – 16.
  2. Once completed, move to the next step.

Configure VM to ZRS Recovery Service Vault

  1. Select the Recovery Service Vault that you want to configure the VM to back up to.

AndrewCoughlin_15-1692188508559.png

 

 

  1. Select the policy sub type.
  2. Select or Create a Backup Policy.

AndrewCoughlin_16-1692188508563.png

 

 

  1. Click Add. (You can add more than 1 VM at a time)
  2. Select the VM you want to add to this Recovery Services Vault.
  3. Click OK.
  4. Click Enable backup.

AndrewCoughlin_17-1692188508571.png

 

 

  1. You should be able to confirm the VM is now configured on the vault for ZRS:

AndrewCoughlin_18-1692188508574.png

 

 

Conclusion

In this article we have walked through the step-by-step process of moving a VM from an LRS/GRS recovery services vault and reconfigured backups to the new ZRS recovery services vault. By following this process, all new backups will be stored in the ZRS recovery services vault. Thank you for taking the time to read this blog, I hope this helps you and see you next time.

Co-Authors
Version history
Last update:
‎Aug 18 2023 12:03 PM
Updated by: