How to Create a Recovery Services vault in Azure

How To Create A Recovery Services Vault In Azure

In this azure tutorial, we will discuss How to Create a Recovery Services vault in Azure. Apart from this, we will also discuss on the below topics

  • What Is Azure Recovery Services Vault
  • Set storage redundancy for the services vault
  • How to set cross-region restore for the services vault
  • Create a Recovery Services vault using PowerShell
  • How to move Recovery Services vault to different resource group
  • How do I change the recovery service vault for Azure?
  • How to move Recovery Services vault to a different Subscription
  • Comparison between Recovery Services vaults and Backup vaults
  • Azure recovery services vault vs backup vault
  • In Azure backup, which type of vault is recommended for better protection?
  • Azure recovery services vault limits
  • Azure recovery services vault pricing
  • Azure recovery services vault vs storage account

Create a 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 organizing 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 Azure Recovery Services Vault

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.

How to Create a Recovery Services vault in Azure

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

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

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

Create a Recovery Services vault

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

How to create a Recovery Services vault

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

How to create Recovery services vaults in Azure

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

How to create Recovery services vaults in Azure for the VM

Step- 6: Now click on the Create button.

How to create Recovery services vaults in Azure

Step- 7: Now it will show that the deployment is completed.

What is the use of a Azure sevice vault

Step- 8: Now to confirm if it is successfully created, you can see here

What is the benefit of a Azure sevice vault

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

Set storage redundancy for the services vault

You can set the storage replication type between the two

  • Geo-redundant
  • Locally-redundant

Default is Geo-redundant. If you want you can change it to Locally-redundant.

You can follow the below steps to do so

Step-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

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

Set storage redundancy for the services vaults

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

how to set storage redundancy for the services vaults

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

In 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 for the services vault.

Step-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

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

 set cross-region restore for the services vault

Step- 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 restore for the services vault.

Create a Recovery Services vault using PowerShell

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

Step-1:

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

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

Step- 2:

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

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

Step- 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 that it is very easy to create the Recovery Services vaults and manage the same in the Azure portal. Just a couple of steps need to be followed to create it.

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

Step-1: Select your virtual machine and click on the Backup option from the left side menu.

Recovery Services vaults in Azure

Step- 2: See below you can able to 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 backup configured, then it will show you to configure backup.

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

Here in my case, vault938 is the Recovery services vault created for my virtual machine(VM).

How to move Recovery Services vault to different resource group

If you wish to move your Recovery services vault to a different resource group, you can do that quickly using the below steps.

How do I change the recovery service vault for Azure?

  1. Log in to the Azure Portal and open the Recovery services vault that you want to move to a different resource group.
  2. On the Overview tab, click on the Essentials option. Click on the Change link next to the Resource group.
Move Recovery Services vault to different resource group using Azure Portal

3. Select the optional related resources and then select another existing Resource group from the dropdown.

How to move Recovery Services vault to different resource group

or, You can click on the Create a new group link to create a new resource group.

How to move Recovery Services vault to different resource group using Azure Portal

4. Select the check box “I understand that tools and scripts associated with moved resources will not work until I update them to use new resource IDs” and finally, click on the Ok button.

How to move Recovery Services vault to a different Subscription

  1. Log in to the Azure Portal and open the Recovery services vault that you want to move to a different Subscription.
  2. On the Overview tab, click on the Essentials option. Click on the Change link next to the Subscription.
How to move Recovery Services vault to a different Subscription

3. On the Move Resources window, select another subscription and then click on the Ok button to move the Recovery services vault to another subscription.

Comparison between Recovery Services vaults and Backup vaults

There are many differences between Backup vaults and Recovery Services vaults in Azure.

Azure recovery services vault vs backup vault

Backup vaultsRecovery Services vaults
Backup vaults are the older versions.Recovery Services vaults are the current version.
This is based on the Azure Service Manager model.This is based on the Azure Resource Manager model of Azure.
These features are not available with Backup vaults.Recovery Services vaults provide many latest features:

1- Enhanced capabilities to help secure backup data
2- Central monitoring for your hybrid IT environment
3- Instant restore for IaaS VMs

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

The answer is “Recovery Services vault”

Azure recovery services vault limits

Let’s discuss here some limitations of the Azure services vault.

What is maximum number of Recovery Services Vault can be created for subscription one region?

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

How many items/datasources can be protected in a vault?

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

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

Maximum 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.

Azure recovery services vault vs storage account

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.

Azure recovery services vault pricing

When you are thinking of Azure recovery services vault pricing, you should consider Azure Backup pricing as well as 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.

You may like the following Azure tutorials:

Conclusion

In this Azure tutorial, We discussed How to Create a Recovery Services vault in Azure. Along with that, we have also discussed the below topics

  • How to Create a Recovery Services vault in Azure
  • What Is Azure Recovery Services Vault
  • Create a Recovery Services vault
  • Set storage redundancy for the services vault
  • How to set cross-region restore for the services vault
  • Create a Recovery Services vault using PowerShell
  • How to move Recovery Services vault to different resource group
  • How do I change the recovery service vault for Azure?
  • How to move Recovery Services vault to a different Subscription
  • Comparison between Recovery Services vaults and Backup vaults
  • Azure recovery services vault vs backup vault
  • In Azure backup, which type of vault is recommended for better protection?
  • Azure recovery services vault limits
  • Azure recovery services vault pricing
  • Azure recovery services vault vs storage account

Hope you have enjoyed this article !!!