A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
Hello @Steve Willis@Steve Willis Thank you for posting your query on Microsoft Q&A forum.
The charge is expected behavior based on how Azure Database for PostgreSQL – Flexible Server bills backup storage, especially when restores (PITR) and geo‑redundant backups are involved.
- Backup storage is billed separately from compute:
Azure PostgreSQL Flexible Server includes free backup storage equal to 100% of the provisioned server storage. Any backup storage beyond that limit is billed per GB per month, regardless of how long the server existed.
Example If the server had 512 GiB of provisioned storage:
- First 512 GiB of backups → free
- Any additional snapshot + WAL data → billable
- Restore operations can significantly increase backup storage usage.
When you perform a Point‑in‑Time Restore (PITR):
- Azure must retain all snapshots and WAL logs needed to support recovery within the configured retention window
- The restored server inherits the same backup retention and redundancy settings as the source
- During the time both the original and restored servers exist, total backup storage can temporarily spike
- Geo‑redundant backup doubles effective storage consumption.
If the source server was configured with geo‑redundant backup storage:
- Backups are stored in the primary region and replicated to the paired region
- Backup billing effectively accounts for two copies of the data
This can cause backup charges to rise quickly, even for short‑lived servers.
- Backup retention applies even if the server is deleted.
Deleting a PostgreSQL Flexible Server does not immediately eliminate backup storage charges already incurred:
- Backups are retained according to the configured 7–35 day retention period
- Charges reflect actual GB‑days stored, not just server lifetime
So even if the server existed briefly, the backup data generated during restore remains billable until it ages out.
The ~$1,000 charge is typically driven by a combination of:
- Large data size and/or high WAL generation
- PITR restore temporarily duplicating backup data
- Geo‑redundant backup storage
- Backup retention applying after deletion
References:
- Backup and restore concepts – Azure Database for PostgreSQL https://learn.microsoft.com/azure/postgresql/backup-restore/concepts-backup-restore [learn.microsoft.com]
- Restore PostgreSQL Flexible Server (Geo‑redundancy and charges) https://learn.microsoft.com/azure/backup/tutorial-restore-postgresql-flex [learn.microsoft.com]
Thanks,
Suchitra.