Docker
You're viewing a free preview. Sign in free to read every script.
Why this exists A backup that has never been restored is a hope, not a backup. The failures are ordinary: the dump was empty because the connection failed and the script did not notice, the disk filled and the newest…
Database Backups with a Compose Sidecar: Dump, Verify, Rotate, Restore and a Healthcheck That Notices Failure
A backup container that runs beside Postgres, dumps on a schedule, verifies each dump before keeping it, rotates old ones and reports unhealthy when backups stop, with a real restore after a dropped table, and a corrupt backup refused.
Sign in free to read this script, along with the rest of the library.
Sign in free