Creating a Recovery Services Vault
In this exercise, you will learn how to create a Recovery Services vault using PowerShell. Complete the steps that follow to deploy your Recovery Services vault:
- Run the code in the following GitHub repo to deploy your resource group and your Recovery Services vault: https://packt.link/G0e8j.
- Next, you are going to set the redundancy level on your vault to georedundant storage with the following command (this is included in the preceding script):
$vault1 = Get-AzRecoveryServicesVault -Name $VaultName Set-AzRecoveryServicesBackupProperty -Vault $vault1 ` -BackupStorageRedundancy GeoRedundant
- The next step is to confirm that the new vault has been created. Navigate to your
AZ104-BCDR
resource group in the Azure portal.
Figure 22.1: Newly created Recovery Services vault
With that, you have successfully created a new Recovery Services vault within Azure via PowerShell. In the next section, you are going to take this a step...