Barman: PostgreSQL Backup and Recovery
pgbarman.org · checked 30 Sept 2026
Open-source Linux tool for backing up and recovering PostgreSQL servers.
How it plugs in
Signal on Database Backup Software6.3#9 of 27
Barman provides open-source Python tooling for PostgreSQL disaster recovery. The self-hosted service operates on Linux and other UNIX-like platforms. It handles remote backup activity, WAL safeguards, retention rules, and point-in-time recovery. Database administrators can manage multiple PostgreSQL servers, with cloud-integration libraries available.

Review
In a line
For PostgreSQL disaster recovery, Barman offers a self-hosted open-source administration service. Linux and other UNIX-like systems are its operating environments.
What it does
Across multiple PostgreSQL servers, Barman maintains continuous backup activity, catalogs, retention policies, and WAL archives. WAL files record database changes for recovery.
Backups and restores can run incrementally or in parallel. Recovery can happen locally, through SSH, or at a selected point in time; synchronous WAL streaming can achieve zero data loss (RPO=0). Restore checks are supported, and WAL files may be compressed with bzip2, gzip, or a custom method.
How it connects
Integration covers PostgreSQL and standard archiving utilities such as tar. Remote backup data can travel through rsync over SSH or pg_basebackup, and SSH can also carry out recovery.
The project uses version 3 of the GNU General Public License. Settings live in a straightforward INI file, with metadata kept on the local system. Optional libraries connect AWS S3 and EC2 snapshots, Azure Blob Storage and VM snapshots, plus Google Cloud Storage and Compute snapshots.
With suitable configuration, GPG can encrypt backups and WAL files. Immutable storage is supported for backups, although the current implementation requires a grace period.
Good fit
Organizations and database administrators handling business-critical PostgreSQL disaster recovery are the intended Barman users. It fits needs such as remote backups, ongoing WAL protection, retention administration, and recovery to a chosen time.
A single self-hosted Linux or UNIX-like deployment can oversee multiple PostgreSQL servers. Community assistance is available through a mailing list and GitHub bug tracker; EnterpriseDB offers 24x7 production support, consulting, and training.
Watch for
Barman is for PostgreSQL rather than a broad collection of database engines. It is self-hosted, with documented operation on Linux, FreeBSD, OpenBSD, and other UNIX-like systems.
The documented experimental stream-to-cloud feature works only with S3-compatible destinations. That route does not include encryption or direct restores in Barman. GPG protection requires correct configuration, and immutable storage currently comes with a grace-period requirement.
Pricing
Barman has no software charge and does not offer a trial. EnterpriseDB also provides 24x7 production support, consulting, and training.
Verdict
Barman fits teams running PostgreSQL that can operate their own Linux or UNIX-like backup service. Its recovery features provide remote copies, WAL streaming, retention controls, and point-in-time restoration without a software charge.
Look elsewhere if you need hosted backup management, broad database coverage, or a cloud-streaming workflow with built-in encryption and direct restores. Teams needing vendor-backed operations should factor EnterpriseDB services into the decision.
Our take
Barman is a sensible fit for organizations that treat PostgreSQL recovery as an operational responsibility and have staff comfortable with self-hosted Linux tools. Its free GPLv3 code, continuous protection, and multiple recovery paths cover serious database work. The trade-off is operational effort: configuration of the service, storage, encryption, and retention remains with your team. Because cloud streaming is experimental and constrained, it should not drive the selection by itself. Consider EnterpriseDB support if your team needs round-the-clock help, consulting, or training.
- Free, open-source software for PostgreSQL disaster recovery
- Continuous WAL archiving and streaming capabilities
- Point-in-time restoration with local or remote options
- Parallel and incremental backup and recovery workflows
- Retention policies covering backups and WAL files
- Self-hosting on Linux or another UNIX-like system is required
- Database coverage is limited to PostgreSQL
- Experimental cloud streaming works only with S3-compatible destinations
- That cloud-streaming route includes neither encryption nor direct restores
- Immutable-storage use requires a grace period
- Pick it ifAdministrators responsible for business-critical PostgreSQL databases; Teams that require continuous backups and point-in-time restoration; Organizations equipped to operate Linux-based self-hosted services
- Skip it ifA managed, hosted backup service is required; You need support for database engines beyond PostgreSQL; You require cloud streaming with built-in encryption and direct restoration
Pricing
Barman is available free of charge under an open-source license, and no free trial is offered. EnterpriseDB provides support, consulting, and training separately.
- BarmanOpen-source PostgreSQL disaster recovery toolFree
As pgbarman.org lists them, checked 30 Sept 2026.
Questions
What is Barman?
Barman is open-source Python administration software designed for PostgreSQL server disaster recovery.
How much does Barman cost?
Barman is offered on a free plan, with no trial period.
Where does Barman run?
The self-hosted service runs on Linux and UNIX-like systems, including FreeBSD and OpenBSD.
Can Barman recover a database to an earlier time?
Yes. It offers point-in-time restoration along with local recovery and recovery over SSH.
Which backup methods does Barman use?
Remote transfers can use rsync over SSH or pg_basebackup, while WAL data may be archived or streamed continuously.
Does Barman support cloud storage?
Optional libraries connect AWS, Azure, and Google Cloud storage services. Its experimental cloud-streaming path accepts only S3-compatible destinations and lacks encryption and direct restores in Barman.
Is Barman open source?
Yes. The code is licensed under version 3 of the GNU General Public License.
Who provides support for Barman?
Community help is available through a mailing list and GitHub bug tracker. EnterpriseDB offers 24x7 production support, consulting, and training.
Near it
All alternatives →- DD
DT Database Backup Wizard#8 on this board - MMedusa#10 on this board
- SSQLBackupAndFTP#7 on this board
- MB
mariadb-backup#11 on this board - PBPercona Backup for MongoDB#6 on this board
- ID
IBM Db2#12 on this board - M
MySQL#5 on this board - WGWAL-G#13 on this board
- S
SqlBak#4 on this board - DDatabasement#14 on this board