5 Backing up: Azure

Not yet validated by a test deployment. deploy/backup.sh needs a database container, so it does not apply. docs/DEPLOYMENT-AZURE.md has the setup.

PartUseNotes
DatabasePoint-in-time restore on Flexible Server7 to 35 days, default 7. Set 35. A restore makes a new server. Geo-redundant backup must be chosen when the server is created. Azure Backup keeps longer
FilesBlob soft delete, 1 to 365 daysKeep it at least as long as database retention. Microsoft advises both soft delete and versioning. It applies to data deleted after it is turned on
SecretsYour Container Apps secrets or Key VaultKeep them in your own vault as well: losing the subscription loses them
A copy out of reachImmutable storage on a separate container or account, for your pg_dump outputDo not put a retention policy on the attachments container: files must stay deletable

Soft delete does not cover losing the storage account. For that, replicate to another account or region.