pg-restic
pg-restic is a small Docker container that backs up Postgres databases to S3, B2, or any S3-compatible storage using restic. It runs pg_dumpall on a cron schedule and streams the dump directly into a restic repository so nothing touches local disk. It produces encrypted, deduplicated snapshots with retention policies and daily pruning, and no snapshot is saved if a dump fails. It ships pg_dumpall 18, supporting Postgres versions from 9.2 to 18.
What it addresses
Existing Postgres backup Docker images shipped an older pg_dump that couldn't back up newer Postgres versions.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
pg-restic
pg-restic is a small Docker container that backs up Postgres databases to S3, B2, or any S3-compatible storage using restic. It runs pg_dumpall on a cron schedule and streams the dump directly into a restic repository so nothing touches local disk. It produces encrypted, deduplicated snapshots with retention policies and daily pruning, and no snapshot is saved if a dump fails. It ships pg_dumpall 18, supporting Postgres versions from 9.2 to 18.
Problem: Existing Postgres backup Docker images shipped an older pg_dump that couldn't back up newer Postgres versions.
Posted by @sriramiyer · Original comment ↗
“pg-restic – Postgres backups to S3/B2 (or any S3-compatible storage) using restic, in one small Docker container.”