# pgBackRest

> Reliable PostgreSQL backup and restore

Source: https://talira.ai/catalog/pgbackrest-jkew2smf
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [databases / postgres / backup](https://talira.ai/categories/databases/postgres/backup), [devops / backup](https://talira.ai/categories/devops/backup)
- Platforms: linux
- Licence: MIT
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Creator: David Steele
- Sponsors: AWS, Supabase, Percona, Dalibo

pgBackRest is a backup and restore tool for [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md) 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.

## Links

- Website: https://pgbackrest.org
- GitHub: https://github.com/pgbackrest/pgbackrest
- Docs: https://pgbackrest.org/user-guide.html

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/pgbackrest>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/pgbackrest>[^2]

## 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 tool: plan not known

## Trust

Overall: 0.69 out of 1.
Signals: maintenance 1.00, adoption 0.73, momentum 0.44, community 0.78, backing 0.35, extensibility 0.20.

- last commit 10 days ago
- 123 commits in the last 90 days
- latest release release/2.60.0 37 days ago
- 4.5k GitHub stars
- 87 contributors
- accepts sponsorship (Github)
- created by David Steele
- sponsored by AWS, Supabase, Percona, Dalibo

## Alternatives

- [WAL-G](https://talira.ai/catalog/wal-g-t3wg850k.md): Archival and restoration for databases in the cloud
- [Barman](https://talira.ai/catalog/barman-3y413wr6.md): Backup and Recovery Manager for PostgreSQL
- [Databasus](https://talira.ai/catalog/databasus-0rrf5xen.md): PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
- [Supabase](https://talira.ai/catalog/supabase-524j51hm.md): The Postgres development platform
- [Neon](https://talira.ai/catalog/neon-62ajbpbj.md): Serverless Postgres with branching, autoscaling and scale to zero
- [Barman Cloud Plugin](https://talira.ai/catalog/barman-cloud-plugin-h1e2ar3n.md): The reference CNPG-I backup/restore plugin for Barman Cloud

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
