14 September 2022: EnterpriseDB is proud to announce the release of Barman version 3.1.0, a Backup and Recovery Manager for PostgreSQL.
Backups taken with
backup_method = postgrescan now be compressed using lz4 and zstd compression by setting
backup_compression = lz4or
backup_compression = zstdrespectively. These options are only supported with PostgreSQL 15 (beta) or later.
A new option
backup_compression_workersis available which sets the number of threads used for parallel compression. This is currently only available with
backup_method = postgresand
backup_compression = zstd.
A new option
primary_conninfocan be set to avoid the need for backups of standbys to wait for a WAL switch to occur on the primary when finalizing the backup. Barman will use the connection string in
primary_conninfoto perform WAL switches on the primary when stopping the backup.
Support for certain Rsync versions patched for CVE-2022-29154 which require a trailing newline in the
barman receive-walmaintenance options (
--create-slot) to run against inactive servers.
barman-wal-restorecommands so that a custom SSH port can be used without requiring any SSH configuration.
Various documentation improvements.
Python 3.5 is no longer supported.
Ensure PostgreSQL connections are closed cleanly during the execution of
barman generate-manifestnow treats pre-existing backup_manifest files as an error condition.
backup_manifest files are renamed by appending the backup ID during recovery operations to prevent future backups including an old backup_manifest file.
Fix epoch timestamps in json output which were not timezone-aware.
The output of
pg_basebackupis now written to the Barman log file while the backup is in progress.
We thank the following who contributed to this release:
Source code and wheel file can be downloaded from release 3.1.0 page.
Barman is an open-source administration tool for backup and disaster recovery of PostgreSQL servers written in Python. It allows organizations to perform remote backups of multiple servers in business critical environments and help DBAs during the recovery phase.
Barman is maintained by EnterpriseDB and distributed under GPL v3.