Barman 3.1.0
Version 3.1.0 - 14 September 2022
Features
-
Backups taken with
backup_method = postgres
can now be compressed
using lz4 and zstd compression by settingbackup_compression = lz4
orbackup_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 withbackup_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
inprimary_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 tobarman-wal-archive
andbarman-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 ofbarman 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.
Acknowledgements
We thank the following who contributed to this release:
- barthisrael
- elhananjair
- kraynopp
- lucianobotti
- mxey