Skip to main content
rightsizing · azure

Recovery Services vaults whose default policy retains backups past the 30-day baseline

resource types
1
rule IDs covered
1
severity
medium

What does ZopNight detect here?

Recovery Services vaults costing at least $50/month whose default backup policy retains longer than Azure's 30-day baseline are flagged by RC-1382. Savings apply a retention haircut to an assumed 70% storage share of vault cost. The recommendation labels that estimate explicitly, since no producer reports the real fee/storage split.

Signal and threshold

How ZopNight evaluates Recovery Services vaults whose default policy retains backups past the 30-day baseline.
Field Value
Rule IDsRC-1382
Categoryrightsizing
Severitymedium
Metricnone — pure configuration read
Sourcerecovery_vault_retention.go

Retention is the multiplier on every backup bill

A Recovery Services vault’s storage charge scales almost linearly with how long recovery points are kept: 90-day retention holds roughly three times the recovery points of the 30-day Azure baseline. Teams set long retention once, often copying a production policy onto dev vaults, and the charge compounds silently as protected items grow. RC-1382 reads the vault’s default_policy_retention_days metadata (populated by the discoverer, readable with Reader) and fires when it exceeds 30, sizing the saving from a cut back to the baseline: cost × 0.70 × (1 − 30/actual).

The 70% is an assumption, and the rule says so

Vault bills mix two meters: a fixed per-protected-instance fee and a retention-scaled storage charge. Azure Cost Management keeps those line items distinct, but the pricing feed ZopNight consumes collapses them into one vault rate, so the rule applies an industry-typical 70% storage share rather than a per-vault measured split, and excludes the fixed fee from the haircut. The recommendation text states this basis explicitly. For a fee-dominated vault (many small protected items) the estimate overstates what is reclaimable; unlike a fabricated saving, though, the driver here (the retention value) is a real measured fact about your vault. When the discoverer could not populate the retention key, or when replication and item-count enrichments are missing, the affected signal is simply omitted; a missing retention value abstains entirely.

Small vaults are filtered out on purpose

Vaults under $50/month never fire. Below that floor the achievable haircut is pocket change, and a sibling rule (RC-1379) already covers general vault review; duplicate findings on the same $30 vault would be noise. Missing or non-positive pricing also abstains.

Inspect the policy the rule is judging

Terminal window
az backup policy show \
--resource-group <rg> --vault-name <vault> --name DefaultPolicy \
--query "properties.retentionPolicy.dailySchedule.retentionDuration"

Shrinking retention without breaking RPO

Reduce daily retention on the default policy toward 30 days, or to whatever your workload’s recovery-point objective genuinely requires, which for most dev/test vaults is less than 30. Existing recovery points beyond the new window expire on their original schedule, so the saving phases in rather than landing instantly. Check with application owners before touching a vault protecting production: a retention number is cheap to change and expensive to regret, and the compounding works both ways: pairing the haircut with a GRS→LRS replication downgrade (where acceptable) multiplies the effect.

See it fire on your bill.

Connect an account read-only. The first findings land in minutes.

417 rule families across 353 resource types on 22 platforms. Every threshold, metric, and IAM action is documented on these pages before you grant anything.

417 rule families documented
353 resource types covered
read-only default access level
Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console· Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console·