An Azure backup service that provides built-in management at scale.
Hello Davidmiller Miller
Thank you for posting your query on Microsoft Q&A platform.
There are two distinct scenarios here, so let me cover both clearly to avoid any confusion:
- Modify the settings of an existing backup policy (e.g., change frequency or retention on
DefaultPolicy) this affects every VM associated with that policy. - Switch a VM from one backup policy to another (e.g., move
VM1fromDefaultPolicytoCustomPolicy-Gold) this affects only that specific VM.
Scenario 1: Modify an Existing Backup Policy using Azure Portal.
- Sign in to the Azure Portal → search for Backup center (or open the Recovery Services vault directly).
- In the vault, go to Backup policies under the Manage section.
- Click the policy you want to modify (e.g.,
DefaultPolicy). - Adjust the required settings:
- Backup frequency (Daily / Weekly / Hourly for Enhanced policies)
- Retention range (daily, weekly, monthly, yearly)
- Instant Restore snapshot retention (1–5 days for Standard; 1–30 days for Enhanced)
- Time zone
- Click Save. The change automatically applies to all VMs associated with this policy.
You cannot change a policy type from Standard → Enhanced by editing, you must migrate. Also, the Standard policy doesn't support newer offerings like Ultra Disk and Premium SSD v2.
Option 2: Azure CLI (export → edit JSON → apply)
This is the documented method per Microsoft Learn for VM policies. [learn.microsoft.com]
Step 1 — Export the current policy to JSON:
az backup policy show </span>
--name testing123 </span>
--resource-group rg1234 </span>
--vault-name testvault > Policy.json
Step 2 — Edit Policy.json and update the parameter you need. For example, to change weekly retention to 60 weeks:
"retentionDuration": {
"count": 60,
"durationType": "Weeks"
}
`
Step 3 — Apply the updated policy:
az backup policy set </span>
--resource-group rg1234 </span>
--vault-name testvault </span>
--policy C:\temp2\Policy.json </span>
--name testing123
Step 4 — Validate by running az backup policy show again, or check in the portal.
You can grab a sample policy JSON template with az backup policy get-default-for-vm
Scenario 2: Change Which Backup Policy a VM Uses
This is the more common ask when a VM is already protected and you simply want it to follow a different policy.
Option 1: Azure Portal
- Open the Recovery Services vault that protects the VM.
- Go to Backup items → Azure Virtual Machine → select the VM.
- On the VM's backup details page, click the current Backup policy name.
- The Change backup policy blade opens — select the new policy from the dropdown.
- Click Save. The VM immediately starts honoring the new policy — no need to stop backup or lose recovery points.
Option 2: PowerShell
$vault = Get-AzRecoveryServicesVault -ResourceGroupName "<RG>" -Name "<VaultName>"
$TargetPol = Get-AzRecoveryServicesBackupProtectionPolicy `
-Name "<NewPolicyName>" -VaultId $vault.ID
$BkpItem = Get-AzRecoveryServicesBackupItem `
-WorkloadType AzureVM -BackupManagementType AzureVM `
-Name "<VMName>" -VaultId $vault.ID
Enable-AzRecoveryServicesBackupProtection `
-Item $BkpItem -Policy $TargetPol -VaultId $vault.ID
This reuses the existing protected item and just re-points it to the new policy existing recovery points are preserved.
Best Practices to Keep in Mind:
- Tier your policies by workload criticality (mission-critical → multiple daily backups + long retention, non-critical → daily/weekly with shorter retention).
- Enable Soft Delete / Immutable Vault for ransomware protection before relaxing any retention.
- There's a rate limit when modifying policies via ARM/PowerShell/CLI max 50 policy create/edit operations per 24 hours per vault.
- Test a restore after any retention or frequency change to confirm RPO/RTO expectations are met.
Thanks,
Suchitra.