How can we improve Azure Backup?

Setting a storage redundant type by Azure Resource Manager template

Currently we can change storage redundant type by using Azure portal, PowerShell or Azure CLI once we create Recovery Services Vault. Some customers usually deploy resources using ARM template, so they would like to set LRS as backup configuration by template as well. It would be great if we can set storage redundant type by template as we deploy Recovery Services Vault.

25 votes
Vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
You have left! (?) (thinking…)
Yusaku Ito shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...
  • Klaas Demter commented  ·   ·  Flag as inappropriate

    It is possible to modify the resource after creation: something like this:
    "resources": [
    {
    "name": "[parameters('backupVaultName')]",
    "type": "Microsoft.RecoveryServices/vaults",
    "apiVersion": "2016-06-01",
    "location": "[parameters('location')]",
    "sku": {
    "name": "RS0",
    "tier": "Standard"
    },
    "properties": {

    },
    "dependsOn": [

    ]
    },
    {
    "name": "[concat(parameters('backupVaultName'), '/vaultstorageconfig')]",
    "type": "Microsoft.RecoveryServices/vaults/backupstorageconfig",
    "apiVersion": "2016-12-01",
    "location": "[parameters('location')]",
    "properties": {
    "storageModelType": "LocallyRedundant",
    "storageType": "LocallyRedundant",
    "storageTypeState": "Unlocked"
    },
    "dependsOn": [
    "[resourceId(parameters('resourceGroup'), 'Microsoft.RecoveryServices/vaults', parameters('backupVaultName'))]"
    ]
    }
    ]

Feedback and Knowledge Base