talira

pgBackRest

Reliable PostgreSQL backup and restore

open sourceMITself-hostablefree

pgBackRest is a backup and restore tool for PostgreSQL with parallel, compressed full, differential and incremental (including block-level) backups, WAL archiving for point-in-time recovery, repository encryption, delta restore and backup from standby. Repositories can live on S3, Azure, GCS, SFTP or a backup host.

Ways to install

Problems it solves

  • pg_dump takes hours on our 2TB database and restores even slower
  • restore Postgres to exactly 14:32 yesterday before someone dropped a table
  • ship Postgres backups and WAL to S3 encrypted
  • incremental backups so we don't copy the whole database every night
  • take backups from a replica so the primary isn't loaded
  • verify our backups are actually restorable
  • rebuild a replica quickly from a backup instead of a full copy
  • our backups have never been tested and that scares me

Features

  • parallel backup and restore
  • full/diff/incremental and block incremental
  • S3/Azure/GCS/SFTP repositories
  • encryption
  • delta restore
  • backup from standby
  • checksum validation

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what pgBackRest does.

  1. WAL-G Archival and restoration for databases in the cloud
  2. Barman Backup and Recovery Manager for PostgreSQL
  3. Databasus PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
  4. Supabase The Postgres development platform
  5. Neon Serverless Postgres with branching, autoscaling and scale to zero
  6. Barman Cloud Plugin The reference CNPG-I backup/restore plugin for Barman Cloud

Compare pgBackRest with the top 3