Jump to content

Move backups in Recovery Service Vault from LRS/GRS to ZRS while not preserving the data


Recommended Posts

Guest AndrewCoughlin
Posted

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 Community Hub.

 

 

 

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.

 

mediumvv2px400.png.9949b4590287cd3538f77d68bff3d605.png

 

 

 

 

 

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

 

mediumvv2px400.png.3b1af89cb71f68119fd4551236e75e3a.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.

 

mediumvv2px400.png.b7ae870495e36d322f800be910c0ff33.png

 

 

 

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

 

mediumvv2px400.png.93df9ecf3b9e4d7cd64086fd1e2a7ae6.png

 

 

 

 

 

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

 

mediumvv2px400.png.606970d1f72277eb8ba826f3aa979079.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.

 

mediumvv2px400.png.fbd8957425eacc1c38bcf222b6d888e0.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.

 

mediumvv2px400.png.0ad05087cc4a9ead01b766d26dfd07f5.png

 

 

 

 

 

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

 

mediumvv2px400.png.49c7059aa4804c633d9f764dd5f149ab.png

 

 

 

 

 

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

 

mediumvv2px400.png.16e2cae89b3f311e6b1abad928f6c8a3.png

 

 

 

 

 

  1. Select Vault properties and click Next.

 

mediumvv2px400.png.3e2ce8781683fd16bc1249bfb6245a1c.png

 

 

 

 

 

  1. Select Networking properties and click Next.

 

mediumvv2px400.png.dff65978df1a1987947057481d0f2e19.png

 

 

 

 

 

  1. Provide Tags that are required and click Next.

 

mediumvv2px400.png.2b2a9804e940417592aad4ad32996370.png

 

 

 

 

 

  1. Click Create.

 

mediumvv2px400.png.b9448b9a2b30d773fd3906c45eb60e1e.png

 

 

 

 

 

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

 

mediumvv2px400.png.ae12edd8bd355da06c73c874cf9a9ce5.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.

 

mediumvv2px400.png.0756f4235917ad93e7804616a3934ece.png

 

 

 

 

 

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

 

mediumvv2px400.png.74123a48a5464d10e8ab8c907188740c.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.

 

mediumvv2px400.png.a9a90df503fedc1a1fa7c1c548704b48.png

 

 

 

 

 

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

 

mediumvv2px400.png.83cdb5968aaa1576ad162110d3a91d25.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.

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...