Buying guide

Postgres backup tools: pg_dump, pg_basebackup, pgBackRest, Barman, WAL-G and managed services

Last materially reviewed 2026-10-03

Quick answerpg_dump for small databases and migrations, pg_basebackup for a simple physical copy, pgBackRest, Barman or WAL-G for point-in-time recovery at scale, and a managed service when nobody can watch the jobs.

Postgres backup tools at a glance

The main Postgres backup tools are the two that ship with PostgreSQL, pg_dump and pg_basebackup, plus three open-source managers built on physical backups and WAL: pgBackRest, Barman and WAL-G. Managed services such as SimpleBackups sit on top for scheduling and alerts. Each fact below comes from that tool's own documentation, read on 3 October 2026.

Postgres backup tools compared
ToolBackup typePoint-in-time recoveryCostBest at
pg_dump / pg_dumpallLogicalNoIncluded with PostgreSQLSingle databases, upgrades, selective restore
pg_basebackupPhysical, full or incrementalYes, with WAL archiving you set upIncluded with PostgreSQLA whole-cluster copy with no extra software
pgBackRestPhysical: full, differential, incrementalYes$0, MIT licenseLarge databases, parallel work, S3, Azure or GCS repositories
BarmanPhysical, via streaming or rsyncYes$0, GNU GPL 3One backup server for many Postgres servers
WAL-GPhysical with delta backupsYes$0, Apache License 2.0Compressed base backups and WAL pushed to object storage
DatabasusLogical and physicalYes, per its site$0, Apache 2.0, self-hostedA web interface instead of config files
SimpleBackupsScheduled managed backupsNo; its docs describe scheduled pg_dump filesBasic $0; Lite $49 per monthHosted scheduling, alerts and backup files to download for manual restore

We may earn a commission if you buy through links on this page, at no extra cost to you.

See current SimpleBackups plans →

The tools that ship with PostgreSQL

pg_dump writes a consistent logical copy of one database and does not block normal reads and writes. It has four output formats; the custom format (-Fc) is compressed by default and lets pg_restore pick which objects to restore. It does not include roles or tablespaces, which is the job of pg_dumpall. See pg_dump versus pg_dumpall.

pg_basebackup copies the whole running cluster over a replication connection. It needs a role with the REPLICATION privilege or a superuser, and it cannot back up a single database. Paired with WAL archiving it becomes the base for point-in-time recovery, but PostgreSQL leaves retention, scheduling and cleanup of old WAL to you. The next three tools fill that gap.

pgBackRest, Barman and WAL-G: what each adds

  • pgBackRest. Its documentation lists parallel backup and restore, full, differential and incremental backups down to block level, retention policies, checksums on every file, repository encryption, and repositories in S3, Azure or GCS compatible object stores. You define a stanza, set archive_command = 'pgbackrest --stanza=demo archive-push %p', and run pgbackrest --stanza=demo backup. One limitation: it has its own configuration model to learn. SimpleBackups versus pgBackRest compares the two.
  • Barman. Maintained by EnterpriseDB and written in Python. It runs on a separate backup server and takes backups with backup_method = postgres (which uses pg_basebackup) or backup_method = rsync, collecting WAL by archive_command or streaming. Commands follow the pattern barman backup and barman restore. One limitation: it is designed around a backup server with SSH or replication connections to each Postgres host, which is more to set up than a single-server tool.
  • WAL-G. Uses wal-g backup-push for base backups and wal-g wal-push from archive_command, with backup-fetch and wal-fetch for restore. Compression can be lz4 (the default), lzma, zstd or brotli. One limitation: it is a command-line tool configured through environment variables or a config file, so scheduling and alerting are yours to build.

Where managed services and SimpleBackups fit

The command-line tools above do not alert you when a job fails unless you wire that up. A managed service does. SimpleBackups says it connects to self-hosted PostgreSQL over SSH, a local agent, Docker or a secure tunnel, and directly to managed databases such as Amazon RDS, Supabase and Neon. Its pricing page, read on 3 October 2026, lists Basic at $0 for one job and Lite at $49 per month (monthly billing) for five jobs with a 5 GB maximum database size.

Where it does not fit: its documentation describes PostgreSQL backups as scheduled pg_dump files and does not describe WAL archiving, and it classes database restores as manual: you download the file and run the native restore tool. If you need recovery to a chosen minute, use pgBackRest, Barman, WAL-G or your cloud provider's own point-in-time recovery, and consider a managed service only for the off-site copy.

Which Postgres backup tool to choose by team

  • Solo developer, database under a few GB: pg_dump -Fc on a schedule. Native tools are enough. Start with how to back up a Postgres database.
  • Self-hosted production database that cannot lose an hour: pgBackRest, or WAL-G if everything goes to object storage.
  • Several Postgres servers and a DBA: Barman on its own host.
  • Small team, several databases, no one on call for backups: a managed service such as SimpleBackups.
  • Database on a managed platform: turn on the provider's backups first, then add an independent copy. Provider backups explains why both matter.

We may earn a commission if you buy through links on this page, at no extra cost to you.

Visit SimpleBackups →

Sources used for this page

The facts above come from the pages below, read on 3 October 2026. We have not used these products hands-on. Prices and terms change, so confirm them on the vendor's site before you buy.

  1. PostgreSQL Documentation: pg_dump — Vendor documentation · postgresql.org · checked 2026-10-03
  2. PostgreSQL Documentation: pg_dumpall — Vendor documentation · postgresql.org · checked 2026-10-03
  3. PostgreSQL Documentation: pg_basebackup — Vendor documentation · postgresql.org · checked 2026-10-03
  4. PostgreSQL Documentation: 25.3. Continuous Archiving and Point-in-Time Recovery (PITR) — Vendor documentation · postgresql.org · checked 2026-10-03
  5. pgBackRest: Reliable PostgreSQL Backup and Restore — Vendor documentation · pgbackrest.org · checked 2026-10-03
  6. pgBackRest User Guide: Debian and Ubuntu — Vendor documentation · pgbackrest.org · checked 2026-10-03
  7. Barman 3.20.1 documentation: User Guide — Vendor documentation · docs.pgbarman.org · checked 2026-10-03
  8. Barman 3.20.1 documentation: Concepts — Vendor documentation · docs.pgbarman.org · checked 2026-10-03
  9. Barman 3.20.1 documentation: Quick start — Vendor documentation · docs.pgbarman.org · checked 2026-10-03
  10. WAL-G documentation: README — Vendor documentation · github.com · checked 2026-10-03
  11. WAL-G documentation: WAL-G for PostgreSQL — Vendor documentation · github.com · checked 2026-10-03
  12. Databasus: PostgreSQL backup — Vendor product page · databasus.com · checked 2026-10-03
  13. SimpleBackups Pricing — Vendor pricing page · simplebackups.com · checked 2026-10-03
  14. SimpleBackups: PostgreSQL Backup Service — Vendor product page · simplebackups.com · checked 2026-10-03
  15. PostgreSQL Backup | SimpleBackups Help Center — Vendor documentation · simplebackups.com · checked 2026-10-03
  16. Backup Restore | SimpleBackups Help Center — Vendor documentation · simplebackups.com · checked 2026-10-03