September 27, 2020

Barman 2.11 releases, PostgreSQL database backup tool

2 min read

Barman (Backup and recovery manager) is an administration tool for disaster recovery of PostgreSQL servers written in Python. It allows to perform remote backups of multiple servers in business-critical environments and help DBAs during the recovery phase.
Barman’s most-wanted features include backup catalogs, retention policies, remote recovery, archiving and compression of WAL files and backups. Barman is written and maintained by PostgreSQL professionals 2ndQuadrant.

PostgreSQL database backup


  • Full hot physical backup of a PostgreSQL server
  • Point-In-Time-Recovery (PITR)
  • Management of multiple PostgreSQL servers
  • Remote backup of a PostgreSQL server
  • Remote recovery of a backup for a PostgreSQL server
  • Management of base backups and WAL files through a catalog
  • ssh support for remote operations
  • rsync over ssh support for file synchronization and transfers
  • Management of retention policies for backups and WAL files
  • Incremental backup
  • WAL hub (get-wal)
  • Compression of WAL files (bzip2, gzip or custom)
  • Backup general and disk usage information
  • Integration with standard archiving tools (e.g. tar)
  • Local recovery
  • Relocation of PGDATA and tablespaces at recovery time

Barman 2.11 has been released.


– Introduction of the barman-cli-cloud package that contains all cloud related utilities.

– Add barman-cloud-wal-restore to restore a WAL file previously archived with barman-cloud-wal-archive from an object store

– Add barman-cloud-restore to restore a backup previously taken with barman-cloud-backup from an object store

– Add barman-cloud-backup-list to list backups taken with barman-cloud-backup in an object store

– Add support for arbitrary archive size for barman-cloud-backup

– Add support for –endpoint-url option to cloud utilities

– Remove strict superuser requirement for PG 10+ (by Kaarel Moppel)

– Add –log-level runtime option for barman to override default log level for a specific command

– Support for PostgreSQL 13

– Bug fixes:

– Suppress messages and warning with SSH connections in barman-cli (GH-257)
– Fix a race condition when retrieving uploaded parts in barman-cloud-backup (GH-259)
– Close the PostgreSQL connection after a backup (GH-258)
– Check for uninitialized replication slots in receive-wal –reset (GH-260)
– Ensure that begin_wal is valorised before acting on it (GH-262)
– Fix bug in XLOG/WAL arithmetic with custom segment size (GH-287)
– Fix rsync compatibility error with recent rsync
– Fix PostgreSQLClient version parsing
– Fix PostgreSQL exception handling with non ASCII messages
– Ensure each postgres connection has an empty search_path
– Avoid connecting to PostgreSQL while reading a file