Skip to content

Use geo-replicated storage#

Reliability · Recovery Services Vault · Rule · 2022_03 · Important

Recovery Services Vaults (RSV) not using geo-replicated storage (GRS) may be at risk.

Description#

Recovery Services Vaults can be configured with several different durability options. Azure provides a number of geo-replicated options for storage including; Geo-redundant storage and read access geo-zone-redundant storage. The default storage type used will be Geo-redundant Geo-zone-redundant storage is only available in supported regions.

The following geo-replicated options are available for recovery services vaults:

  • GeoRedundant
  • ReadAccessGeoZoneRedundant

Recommendation#

Consider using GeoRedundant for recovery services vaults that contain data.

Examples#

Configure with Azure template#

The default storage type used by Recovery Services vaults is Geo-redundant. However if you're defining the backup config in an ARM template:

  • Set properties.storageType to either GeoRedundant or ReadAccessGeoZoneRedundant. For example:
Azure Template snippet
{
  "type": "Microsoft.RecoveryServices/vaults/backupconfig",
  "apiVersion": "2021-10-01",
  "name": "vaultconfig-a",
  "location": "australiaeast",
  "tags": {},
  "properties": {
    "storageType": "GeoRedundant"
  }
}

Configure with Bicep#

The default storage type used by Recovery Services vaults is Geo-redundant. However if you're defining the backup config via Bicep:

  • Set properties.storageType to either GeoRedundant or ReadAccessGeoZoneRedundant.

For example:

Azure Bicep snippet
resource testRecoveryServices 'Microsoft.RecoveryServices/vaults/backupconfig@2021-10-01' = {
  name: 'vaultconfig'
  location: 'string'
  parent: resourceSymbolicName
  properties: {
    storageType: 'GeoRedundant'
  }
}

Comments