π‘οΈ Azure Cosmos DB Account analytical storage uses periodic backupπ’
- Contextual name: π‘οΈ Account analytical storage uses periodic backupπ’
- ID:
/ce/ca/azure/cosmos-db/analytical-storage-periodic-backup - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
BEST_PRACTICE - Policy Categories:
COST
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
Descriptionβ
Descriptionβ
Ensure that Azure Cosmos DB accounts with analytical storage enabled use continuous backup instead of periodic backup. This configuration aligns the backup mode with analytical workloads and helps identify opportunities to reduce avoidable costs.
Rationaleβ
Analytical storage supports large-scale analytical workloads, including Synapse Link and Fabric Mirroring scenarios. Continuous backup is the recommended backup mode for eligible workloads and can be more cost-effective than periodic backup. It also supports point-in-time restoration within the configured retention period.
Impactβ
Using periodic backup for an eligible analytical workload can result in avoidable backup costs and provides restoration only from scheduled backup copies. Changing from periodic to continuous backup is a one-way operation that can affect backup retention options, restore procedures, regional availability, and cost. Plan the change around the workload's operational and recovery requirements.
Auditβ
This policy flags an Azure Cosmos DB Account as
INCOMPLIANTwhen both of the... see more
Remediationβ
Remediationβ
This finding is a configuration review, not evidence that Synapse Link or Fabric Mirroring is active. Before migrating, confirm that the account and its API support continuous backup. Review workload eligibility, retention, restore requirements, regional availability, and pricing impact. Migration from periodic to continuous backup is irreversible.
From Azure Portalβ
- Open the Azure Cosmos DB account.
- Select Backup & Restore.
- Select Continuous backup.
- Choose the available continuous-backup retention option that meets the recovery requirement.
- Review the irreversible-change warning, then confirm the migration.
From Azure CLIβ
az cosmosdb update \
--name {{cosmosdb-account-name}} \
--resource-group {{resource-group-name}} \
--backup-policy-type ContinuousVerify the change:
az cosmosdb show \
--name {{cosmosdb-account-name}} \
--resource-group {{resource-group-name}} \
--query "backupPolicy.type" \
--output tsvThe command must return
Continuous.Referencesβ
... see more
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ Cloudaware Framework β πΌ Resource Optimization | 37 | no data |