Guides / PostgreSQL backup tools

PostgreSQL backup tools compared

Written by SafeGrd's founder, so SafeGrd is on this list. Each entry starts with what that tool does better than the others, including better than SafeGrd. Facts come from each project's own documentation and pricing page, read in October 2026. If a page has changed since, the project's page is right.

How they compare

ToolKindRuns wherePoint-in-time recoveryRestore tested on a schedulePrice
pg_dump and cronLogicalAny hostNoNoFree
pgBackRestPhysicalThe database host and a repositoryYesNo. verify checks checksumsFree, MIT
BarmanPhysicalA backup server for many databasesYesNoFree, GPL 3.0
WAL-GPhysicalThe database host, to object storageYesNoFree, Apache 2.0
DatabasusLogical and physicalYour server, in DockerYesYes, into a throwaway containerFree, Apache 2.0
SimpleBackupsLogicalIts cloud, connecting to your serverNoRemindersFrom $49 a month
BackupDrillLogical, Supabase onlyIts cloudNoYes, weekly on paid plansFrom $19 a month
AWS BackupSnapshots, RDS and AuroraYour AWS accountYesYes. Checking the data is a Lambda you writePer GB, plus per restore test
SafeGrdLogicalYour host, or a machine SafeGrd startsSelf-hosted PostgreSQL and SQLiteYes, with a signed recordFree tier; paid from $15 a month

A physical backup copies the database's files and its write-ahead log, so it restores to any second you choose, onto the same major version. A logical backup is a pg_dump: it restores onto a newer version or another provider, one table at a time if you want, and only to the moment it was taken. pg_dump, pg_basebackup or pgBackRest has the details, with timings from one database.

pg_dump and cron

Best at: nothing to install and nothing to pay. pg_dump ships with PostgreSQL, and a five-line script with set -o pipefail, age and aws s3 cp gives an encrypted copy in a bucket every night.

What it leaves to you: nothing tells you when cron stopped running or the dump came out short, and nothing restores it until the day you need it. How to back up PostgreSQL to S3 is the script, with the checks that make it fail loudly.

pgBackRest

Best at: large databases that need point-in-time recovery. Full, differential and incremental backups, parallel compression, and repositories on S3, Azure, GCS or SFTP. It restores a multi-terabyte cluster faster than any logical tool can, because it copies files instead of replaying SQL.

What it leaves to you: encryption is off until you configure it, and the credentials that write the repository can delete it unless you add a lock. pgbackrest verify checks checksums. It does not restore the data. Many teams run pgBackRest for recovery and something else to test it. (SafeGrd and pgBackRest)

Barman

Best at: one backup server for many PostgreSQL servers. Barman, maintained by EDB, pulls base backups and streams WAL from each database to a central host, with point-in-time recovery and retention policies per server. Its barman-cloud commands write straight to S3, Azure or GCS from the database host, which is what the CloudNativePG operator uses on Kubernetes.

What it leaves to you: the backup server itself, and testing that a restore works.

WAL-G

Best at: physical backups straight to object storage with little setup. Delta backups, several compression choices, and encryption built in. The same tool backs up MySQL and MongoDB, and Zalando's Postgres Operator uses it on Kubernetes.

What it leaves to you: scheduling, alerting and restore testing.

Databasus

Best at: free scheduled restore tests on your own server. It backs up PostgreSQL, MySQL, MariaDB and MongoDB, streams WAL for point-in-time recovery, and restores the newest backup into a throwaway container to check it, all under Apache 2.0 with a web interface.

What it leaves to you: running and updating the server it lives on, and keeping its storage out of reach of the credentials that reach production. (SafeGrd and Databasus)

SimpleBackups

Best at: breadth. Databases, servers, storage buckets and SaaS apps from one hosted console, with schedules down to minutes on the higher plans.

What it leaves to you: restore testing, which it reminds you to do. Plans count backup jobs, 5 on the $49 plan. (SafeGrd and SimpleBackups)

BackupDrill

Best at: Supabase with no setup. It connects to a Supabase project by sign-in, backs up the database and the Storage files, and restores the backup in its own cloud every week on paid plans.

What it leaves to you: anything that is not Supabase, and a lock on the bucket. (SafeGrd and BackupDrill)

AWS Backup

Best at: RDS and Aurora inside AWS. Point-in-time recovery, Vault Lock so nobody in the account can delete a backup, scheduled restore testing, and Audit Manager reports, with nothing to run.

What it leaves to you: checking the data inside a test restore (a Lambda function you write), and anything outside AWS. A restore lands in AWS only. (SafeGrd and AWS Backup)

SafeGrd

Best at: proof that a backup restores, which someone outside the team can check. Every backup is encrypted on your host and written under Object Lock to your bucket or SafeGrd's, locked until a date set by your plan or your retention settings. On a schedule, a drill restores the newest one into a throwaway database, counts every table's rows against what was backed up, and signs the result into a chained record an auditor can verify offline. It covers PostgreSQL, MySQL, MongoDB, SQLite, files and mailboxes from one install, and databases with no host of their own run on a machine SafeGrd starts for each job.

What it leaves to the others: point-in-time recovery on a managed database. On a PostgreSQL server or a SQLite file you run, SafeGrd archives the WAL and restores to any second in the window (details). On Supabase, Neon or RDS it takes logical backups, as often as hourly. If you need to restore those to the second, use your provider's point-in-time recovery beside SafeGrd's tested copy.

Run your first Fire Drill See pricing

How to choose

Choosing a PostgreSQL backup tool, one question at a time. If you need to restore to any second, or the database is over a few hundred GB: physical backups with pgBackRest, Barman or WAL-G, or your provider's point-in-time recovery. Otherwise, with no server of your own (Supabase, Neon, Railway): a logical backup run elsewhere, from a workflow or a hosted tool. Otherwise, everything in AWS: AWS Backup plus a copy outside AWS. Otherwise: pg_dump on a schedule on your host. Whichever you pick, if someone asks whether it restores, add a scheduled restore test that keeps the result. Need any second back? or over a few hundred GB yes Physical backups pgBackRest, Barman, WAL-G, or provider PITR no No server of your own? Supabase, Neon, Railway yes Logical, run elsewhere a workflow or a hosted tool no Everything in AWS? RDS or Aurora yes AWS Backup plus a copy outside AWS no pg_dump on a schedule, on your host with pipefail, encryption and a locked bucket Someone asks whether it restores? add a scheduled restore test that keeps the result
The list below, as questions in order. The last box applies whichever tool you end up with.

Whatever you pick, restore a backup once by hand before you rely on it. How to test that a backup restores has the steps.

Sources