Azure Recovery Services Vault

Azure Recovery Services Vault

In this Azure tutorial, we will discuss Recovery Services Vault in Azure.

Azure Recovery Services Vault

A recovery service vault is something that stores backups and recovery data.

The data is nothing but copies of data, or configuration information of the virtual machines (VM).

This helps us organize the backup data.

You can create up to 500 recovery service vaults per subscription and per region.

Before discussing How to Create a Recovery Services vault, we should know What is Recovery Services vault.

What is recovery service vault in Azure

Azure Recovery Services Vault is a storage object that can hold your backup data in an organized way. The data that can be stored here is Virtual machine configuration information, different servers, or backup of your workstations, backup of your Azure SQL databases, etc.

Create Recovery Services Vault

Follow the below steps to create a Recovery Services vault in the Azure portal.

1. Log in to https://portal.azure.com/

2. On the left side menu, click on “All services”.

Create a Recovery Services vault

3. Now search for “Recovery Services” Now you will see “Recovery Services vaults”. Click on that.

How to create a Recovery Services vault

4. It will show the lists of Recovery Services vaults. Click on the Add button.

How to create Recovery services vaults in Azure

5. On the Create Recovery Services vault window, Select the Subscription and Resource group, Give a Vault name, select a region, and then click on the Review + Create button.

azure recovery services vault

6. Now click on the Create button.

How to create Recovery services vaults in Azure

7. Now, it will show that the deployment is completed.

What is the use of a Azure sevice vault

8. Now to confirm if it is successfully created, you can see it here

What is the benefit of a Azure sevice vault

You can see above the new Services vaults got created and named “MyNewVault”.

Set storage redundancy for the services vault

You can set the storage replication type between the two

  • Geo-redundant
  • Locally-redundant

The default is Geo-redundant. If you want, you can change it to Locally-redundant.

You can follow the below steps to do so

1. On the Recovery Services vaults window, click on the new vault you have created. In my case, it is MyNewVault.

What is the benefit of a Azure sevice vault

2. Click on properties under the Settings section and then click on Update under Backup Configuration.

Set storage redundancy for the services vaults

3. On the Backup Configuration window, select the Storage replication type as “Locally-redundant” and click the Save button.

how to set storage redundancy for the services vaults

Note: Using the Geo-redundant(Default) as the Storage replication type is suggested.

This way, you can set the storage redundancy for the services vaults.

How to set cross-region restore for the services vault

Cross-Region Restore (CRR) helps you to restore Azure VMs in a secondary region if there’s a disaster in the primary region.

If you are creating a vault with GRS redundancy, include the option to configure the Cross-Region Restore feature, and if it is Locally-redundant, then you will not get the option for Cross-Region Restore (CRR).

You can follow the below steps to set cross-region to restore the services vault.

1. On the Recovery Services vaults window, click on the new vault you have created. In my case, it is MyNewVault.

How to enable cross-region restore for the services vault

2. Click on properties under the Settings section and then click on Update under Backup Configuration.

 set cross-region restore for the services vault

3. On the Backup Configuration window, select the Storage replication type as “Geo-redundant” and then only you can see the Cross-Region Restore option. Select the Enable button there.

Finally, Click on the Save button.

How to set cross-region restore for the services vault

This is how you can set cross-region to restore for the services vault.

Create a Recovery Services vault using PowerShell

We already discussed creating a recovery services vault using the Azure portal. Now, let’s discuss how we can create the same using PowerShell.

1. You need to have a resource group where you can place the Recovery Services vault. If you already have an existing one, you can use it. If you do not have any resource group, you can create one using the code below.

New-AzResourceGroup -Name "mynewresgroup123" -Location "West US"

2. Use the below line of code to create the Services vault and specify the name for the vault, the resource group, and the location. One important point here is to ensure the location for the resource group and the location for creating the vault should be the same.

New-AzRecoveryServicesVault -Name "MyNewVault123" -ResourceGroupName "mynewresgroup123" -Location "West US"

3. Use the below line of code to specify the type of storage redundancy to use. Here, in my case, I am trying to use the storage type as GeoRedundant.

$myVault = Get-AzRecoveryServicesVault -Name "MyNewVault123"
Set-AzRecoveryServicesBackupProperty  -Vault $myVault -BackupStorageRedundancy GeoRedundant

This is how you can create a Recovery Services vault using PowerShell.

Managing your Recovery Services vaults in the Azure portal

As we have already seen, creating the Recovery Services vaults and managing them in the Azure portal is very easy. Just a couple of steps need to be followed to create it.

If you wish to see the recovery points for your virtual machine, select your VM and then select the Backup option from the left side menu.

1. Select your virtual machine and click the Backup option from the left menu.

Recovery Services vaults in Azure

2. See below. You can see the Recovery points and all the other details here.

how to create a Recovery Services vaults in Azure

If your virtual machine doesn’t have a backup configured, it will show you how to configure a backup.

It will show the backup details with the status if it is already configured for your virtual machine.

In my case, vault938 is the Recovery Services vault created for my virtual machine(VM).

Recovery Services Vault Pricing

When you think of Azure recovery services vault pricing, you should consider Azure Backup pricing and Azure Site Recovery pricing.

Azure Site Recovery pricing

InstancesFor the First 31 daysAfter 31 Days
customer-owned sites from Azure Site RecoveryFreeYou need to pay ₹1,152.725/month/instance
Azure from Azure Site RecoveryFreeYou need to pay ₹1,801.132/month/instance

Then, You can check out the Pricing for Azure backup.

FAQs

In Azure backup, which type of vault is recommended for better protection?

Answer: Recovery services vault.

An Azure backup which type of vault is recommended?

Answer: Recovery services vault.

Let’s discuss some FAQs on Azure recovery services vault limits.

What is the maximum number of Recovery Services Vaults that can be created for subscription one region?

You can create 500 Recovery Services vaults for a single subscription.

How many items/data sources can be protected in a vault?

You can able to create up to 2000 items/data sources across all workloads in a vault.

What is the maximum number of machines/servers that can be registered against each vault?

A maximum of up to 1000 Azure Virtual machines/vault can be registered, 50 MARS agents/vault can be registered and A maximum of up to 50 MABS servers can be registered / vault.

What is the maximum amount of data that can be backed up using a Recovery Services vault?

There is no limit.

In Azure backup, which type of vault is recommended for better protection?

The answer is “Recovery Services Vault”

Azure recovery services vault vs storage account: State the differences

Let’s discuss here, a few key differences between the Azure recovery services vault and storage account.

Azure recovery services vaultStorage account
 Azure recovery service vault can be used to backup your Virtual machine, the backing of on-premise servers, etc.A storage account can be used to store all types of data in Azure.
Azure recovery services vault includes recovery points, copies of your backups, etc.Here, your data can be stored in the form of files, blobs, tables, etc.

You may like the following Azure tutorials:

Conclusion

In this Azure tutorial, We discussed Recovery Services vault in Azure. I hope you have enjoyed this article !!!