
pgBackRest
pgBackRest is a free, open-source backup and restore solution for PostgreSQL, designed for large databases and workloads.
What pgBackRest is
pgBackRest is a free, open-source backup and restore solution for PostgreSQL, designed for large databases and workloads. It supports full, differential and incremental backups at file or block level, with parallel processing and compression options such as lz4 and zstd. A custom protocol handles local or remote backup, restore and archiving through TLS or SSH. Repositories can use S3-, Azure- and GCS-compatible object storage, and the repository can be encrypted wherever stored. pgBackRest calculates checksums for backup files and checks them again during restore or verification. With versioned object storage, users can view a repository as it existed at a point in time; S3 object locking and Azure or GCS soft delete are also described as tampering protections. The project supports ten PostgreSQL versions, including the five currently supported versions and the last five end-of-life versions. It runs on Linux as self-hosted software, with installation guides for Debian, Ubuntu and RHEL. Bug reports can be submitted, and sponsors offer products and services that include pgBackRest support. The plan is free under the MIT license for personal or commercial use.
Good
- Supports full, differential and incremental backups.
- Can use parallel processing and lz4 or zstd compression.
- Remote operations can use TLS or SSH.
- Repositories can be encrypted and checked with checksums.
- Free under the MIT license for personal or commercial use.
Watch out
- Runs on Linux and is self-hosted.
- It supports PostgreSQL, not other listed databases.
- No free trial is listed.
Who it suits
pgBackRest suits PostgreSQL users who need self-hosted backup and restore for large databases or workloads. It may fit teams using Linux and local or compatible object-store repositories.
Verdict
pgBackRest offers a broad set of PostgreSQL backup and restore options, including encryption and verification. It is a fit to consider when Linux self-hosting is suitable.
Plans and prices
From pgBackRest's own pricing page, checked 30 Sep 2026.
| Plan | Price | What it gives you |
|---|---|---|
| pgBackRest | Free | Free and open source · MIT license · Personal or commercial use |
The facts
Each one read from pgBackRest's own pages, with the date it was checked.
What it does
- Backup types
- It supports full, differential, and incremental backups at file or block level.checked 30 Sep 2026
- Current release
- The site identifies v2.59.2 as the current stable release, released September 27, 2026.checked 30 Sep 2026
- Encryption
- pgBackRest can encrypt its repository to secure backups wherever they are stored.checked 30 Sep 2026
- Integrity
- It calculates checksums for every backup file and rechecks them during restore or verify.checked 30 Sep 2026
- Parallel processing
- Parallel processing and compression algorithms including lz4 and zstd are used for backup and restore operations.checked 30 Sep 2026
- PostgreSQL compatibility
- The site says pgBackRest supports ten PostgreSQL versions: the five supported versions and the last five end-of-life versions.checked 30 Sep 2026
- Purpose
- pgBackRest is a backup and restore solution for PostgreSQL designed to scale to large databases and workloads.checked 30 Sep 2026
- Remote operation
- A custom protocol supports local or remote backup, restore, and archiving via TLS or SSH.checked 30 Sep 2026
- Storage integrations
- Repositories can use S3, Azure, and GCS compatible object stores.checked 30 Sep 2026
- Support
- Bug reports can be submitted, and the site says sponsors offer products and services that include pgBackRest support.checked 30 Sep 2026
- Tampering recovery
- With versioned object storage, it can read a repository as of a point in time; the page also mentions S3 object locking and Azure or GCS soft delete as additional tampering protection.checked 30 Sep 2026
Where it runs
- Linux guides
- The user guide index lists installation guides for Debian and Ubuntu, and for RHEL.checked 30 Sep 2026
Alternatives to pgBackRest
- 1

MySQL
Free planAPILinuxmacOSSelf-hosted7.9Free plan - 2

SqlBak
Free planWebAPILinuxSelf-hosted7.6From $6 a month - 3

DBDock
Free planOpen sourceWebAPILinuxmacOS7.5Free plan - 4

Quemsi
Free planOpen sourceWebAPILinuxmacOS7.5Free plan - 5

IBM Db2
Free planWebAPILinuxSelf-hosted7.4From $630 a month - 6

DBAegis
Free planOpen sourceWebAPILinuxSelf-hosted7.2Free plan
