# Barman

> Backup and Recovery Manager for PostgreSQL

Source: https://talira.ai/catalog/barman-3y413wr6
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[^3]
- Licence: GPL-3.0-only[^5][^6]
- Pricing: Free and open source[^5]
- Free tier: yes[^5]
- Self-hostable: yes[^3]
- Backed by: [EDB](https://talira.ai/orgs/edb.md)

Barman (Backup and Recovery Manager) is EnterpriseDB's open source disaster recovery tool for [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md): a Barman server takes physical backups of many Postgres servers (with pg_basebackup streaming or rsync over SSH), archives their WAL, keeps a catalogue of backups under retention policies and restores any of them to a point in time. Its barman-cloud commands (the barman-cli-cloud package) back up and archive WAL straight from the Postgres host to [Amazon S3](https://talira.ai/catalog/amazon-s3-eh5bxspt.md) or S3-compatible stores, Azure Blob Storage or Google Cloud Storage, with no Barman server, and also handle cloud volume snapshots and object lock. It's written in Python under GPL-3.0, and [CloudNativePG](https://talira.ai/catalog/cloudnativepg-vev9c0tv.md)'s backups use it through the [Barman Cloud Plugin](https://talira.ai/catalog/barman-cloud-plugin-h1e2ar3n.md).

## Links

- Website: https://pgbarman.org/
- GitHub: https://github.com/EnterpriseDB/barman
- Docs: https://docs.pgbarman.org/

## Ways to install

### Package managers

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

## Problems it solves

- restore our production Postgres to how it was five minutes before someone ran a bad DELETE
- one backup server that manages backups for all our Postgres instances
- continuous WAL archiving so we lose at most a few seconds of Postgres data in a disaster
- keep Postgres backups for 30 days and delete older ones automatically
- ship Postgres base backups and WAL straight to an S3 bucket from the database server
- Postgres backups in Azure Blob Storage or Google Cloud Storage
- backups in object storage that ransomware or a mistake can't delete during the retention period
- block-level incremental Postgres backups so nightly backups don't copy the whole database
- a second copy of our Postgres backups in another data centre
- check that our Postgres backup setup is healthy before we actually need it
- take Postgres backups as cloud disk snapshots for very large databases

## Features

- physical backups with pg_basebackup (streaming) or rsync over SSH
- point-in-time recovery
- WAL archiving and WAL streaming
- backup catalogue: list, keep, delete, archive and recover full backups
- retention policies
- manage backups of several Postgres servers from one Barman server
- barman-cloud-* commands: backups and WAL archiving straight to S3, Azure Blob Storage or Google Cloud Storage
- S3-compatible object stores through Boto3
- object lock (WORM) support for cloud backups
- cloud snapshot backups (AWS, Azure, Google) and AWS Outposts
- block-level incremental backups (streamed to the cloud with a Barman server)
- geographical redundancy between Barman servers
- hook scripts
- backup export and import
- barman check for diagnosing the setup

## Limitations

- Doesn't run on Windows: the Barman server needs Linux or another UNIX-like OS[^3]
- Doesn't take logical backups: no pg_dump, only physical backups of the whole cluster[^4]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by EDB

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [pgBackRest](https://talira.ai/catalog/pgbackrest-jkew2smf.md): Reliable PostgreSQL backup and restore
- [WAL-G](https://talira.ai/catalog/wal-g-t3wg850k.md): Archival and restoration for databases in the cloud
- [Databasus](https://talira.ai/catalog/databasus-0rrf5xen.md): PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
- [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)
[^3]: https://docs.pgbarman.org/release/3.21.0/user_guide/installation.html (checked 19 Nov 2026)
[^4]: https://docs.pgbarman.org/release/3.21.0/user_guide/concepts.html (checked 19 Nov 2026)
[^5]: https://github.com/EnterpriseDB/barman/blob/master/LICENSE (checked 19 Nov 2026)
[^6]: https://pypi.org/project/barman/ (checked 19 Nov 2026)
