The ability to create a backup policy for Policy Type = 'SQL Server in Azure VM'
Cannot create backup policy for SQL Server in Azure VM.
{
"condition": "[parameters('isNewPolicy')]",
"type": "Microsoft.RecoveryServices/vaults/backupPolicies",
"apiVersion": "2018-01-10",
"name": "[concat(parameters('vaultName'), '/', parameters('policyName'))]",
"dependsOn": [
"[resourceId('Microsoft.RecoveryServices/vaults/', parameters('vaultName'))]"
],
"properties": {
"backupManagementType": "[variables('backupManagementType')]",
"workloadType": "[parameters('workloadType')]",
"settings": {
"timeZone": "UTC",
"issqlcompression": false,
"isCompression": false
},
"subProtectionPolicy": [
{
"policyType": "Full",
"schedulePolicy": {
"schedulePolicyType": "SimpleSchedulePolicy",
"scheduleRunFrequency": "Daily",
"scheduleRunTimes": [
"2019-03-24T16:00:00Z"
],
"scheduleWeeklyFrequency": 0
},
"retentionPolicy": {
"retentionPolicyType": "LongTermRetentionPolicy",
"dailySchedule": {
"retentionTimes": [
"2019-03-24T16:00:00Z"
],
"retentionDuration": {
"count": 30,
"durationType": "Days"
}
}
}
},
{
"policyType": "Log",
"schedulePolicy": {
"schedulePolicyType": "LogSchedulePolicy",
"scheduleFrequencyInMins": 60
},
"retentionPolicy": {
"retentionPolicyType": "SimpleRetentionPolicy",
"retentionDuration": {
"count": 30,
"durationType": "Days"
}
}
}
]
}
},
It's been awhile, any updates on this request?
Hello team, any update on this as I still dont see that in the terraform yet.
Was there any movement on this ?
Very interested by this feature. Any news?
Extremely interested in this. Moving from Storage Account backups to RSV's has many advantages and at the moment I'm having to use azurerm_template_deployment to achieve it in terraform which is less than ideal. Any news?
Extremely interested in this. Moving from Storage Account backups to RSV's has many advantages and at the moment I'm having to use azurerm_template_deployment to achieve it in terraform which is less than ideal. Any news?
@ChorltonPaul I'm looking to do exactly the same. Are you able to share your current terraform code which achieves it?
Most helpful comment
It's been awhile, any updates on this request?