Barman 3.1.0 released

1 minute read

14 September 2022: EnterpriseDB is proud to announce the release of Barman version 3.1.0, a Backup and Recovery Manager for PostgreSQL.

Release Notes

  • Backups taken with backup_method = postgres can now be compressed using lz4 and zstd compression by setting backup_compression = lz4 or backup_compression = zstd respectively. These options are only supported with PostgreSQL 15 (beta) or later.

  • A new option backup_compression_workers is available which sets the number of threads used for parallel compression. This is currently only available with backup_method = postgres and backup_compression = zstd.

  • A new option primary_conninfo can 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_conninfo to 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 --files-from argument.

  • Allow barman receive-wal maintenance options (--stop, --reset, --drop-slot and --create-slot) to run against inactive servers.

  • Add --port option to barman-wal-archive and barman-wal-restore commands so that a custom SSH port can be used without requiring any SSH configuration.

  • Various documentation improvements.

  • Python 3.5 is no longer supported.

  • Bug fixes:

    • Ensure PostgreSQL connections are closed cleanly during the execution of barman cron.

    • barman generate-manifest now 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_basebackup is now written to the Barman log file while the backup is in progress.

  • We thank the following who contributed to this release:

    • barthisrael
    • elhananjair
    • kraynopp
    • lucianobotti
    • mxey

Download

Source code and wheel file can be downloaded from release 3.1.0 page.

About Barman

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.