Skip to content

Releases

v0.1.1

Choose a tag to compare

@ramaraihan12 ramaraihan12 released this 12 Nov 04:40

Fixes PGBACKUP_PG_BIN_DIR on Windows. It looked for pg_dump and pg_restore without the .exe, so on Windows the tools had to be on PATH. Now the folder works there too, usually C:\Program Files\PostgreSQL\17\bin, and when a tool is missing the error names the exact file it looked for.

Nothing else changed. Binaries for Linux, macOS and Windows on amd64 and arm64 are below, with sha256 sums in checksums.txt. Install steps are in the README.

v0.1.0

Choose a tag to compare

@ramaraihan12 ramaraihan12 released this 05 Nov 07:19

First release. Until now you had to run pg-backup in Docker or build it yourself. Now there are binaries for Linux, macOS and Windows on amd64 and arm64, with sha256 sums in checksums.txt. Install steps are in the README.

What it does:

  • backup streams pg_dump through zstd and age into an S3-compatible bucket, with no temp file.
  • verify restores a backup into a scratch database, compares row counts with the manifest, runs your SQL checks and drops the database again, even on failure.
  • prune applies daily, weekly and monthly retention. It is a dry run unless you pass --yes.
  • serve runs all of that on a cron schedule, exposes /metrics and can message a Telegram bot on failure.

You still need pg_dump and pg_restore 17 on PATH. I've only run it for real against MinIO and Postgres 17, and CI only runs on Linux, so the macOS and Windows builds get less testing. On Windows, PGBACKUP_PG_BIN_DIR doesn't work yet because it looks for pg_dump without the .exe, so use PATH there.