This article was originally published on September 20, 2022
WHAT’S NEW
This update is notifying you of a new software release of Barman 3.1.0.
Backup and Recovery Manager (or Barman) is an open-source administration tool for remote backups and disaster recovery of PostgreSQL servers in business-critical environments. It relies on PostgreSQL’s robust and reliable Point-In-Time Recovery technology, allowing DBAs to remotely manage a complete catalog of backups and the recovery phase of multiple remote servers – all from one location. Barman is distributed under GNU GPL 3 and maintained by EDB.
Highlights of this release:
Type |
Highlights |
Enhancement |
New compressions options for potentially significant storage space savings in certain cases and faster base backups. 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 available on PostgreSQL 15 (currently beta) or later and will be supported once PostgreSQL 15 is generally available from the PostgreSQL community. These options will also be available for EPAS 15, which is currently scheduled to be generally available in Feb ‘23. |
New Feature |
Potentially faster base backups using parallel server-side backup compression in PostgreSQL 15. 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`. This option is only available on PostgreSQL 15 (currently beta) or later and will be supported once PostgreSQL 15 is generally available from the PostgreSQL community. Thisx options will also be available for EPAS 15, which is currently scheduled to be generally available in Feb ‘23. |
New Feature |
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. |
Enhancement |
Allow `barman receive-wal` maintenance options (`--stop`, `--reset`, `--drop-slot` and `--create-slot`) to run against inactive servers. |
Enhancement |
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. |
Security |
Support for certain Rsync versions patched for CVE-2022-29154 which require a trailing newline in the `--files-from` argument. |
Bug Fix |
Ensure PostgreSQL connections are closed cleanly during the execution of `barman cron`. |
Bug Fix |
`barman generate-manifest` now treats pre-existing backup_manifest files as an error condition. |
Bug Fix |
backup_manifest files are renamed by appending the backup ID during recovery operations to prevent future backups including an old backup_manifest file. |
Bug Fix |
Fix epoch timestamps in json output which were not timezone-aware. |
Bug Fix |
The output of `pg_basebackup` is now written to the Barman log file while the backup is in progress. |
This information is also published in the NEWS for Barman.
TELL ME MORE
For more details, please review the Barman documentation:
IS THIS FOR ME?
This announcement is for EDB customers who have a subscription and are either currently using or are interested in Barman.
HOW TO GET THE SOFTWARE
Barman 3.1.0 is available from the EDB website https://www.enterprisedb.com/downloads/barman.
To request the credentials required to access EDB repositories, visit Create new account.
TROUBLESHOOTING
If you experience any problems around the installation, migration, upgrade or general use of your EDB software, please contact our Technical Support teams. Customers may reach us at https://techsupport.enterprisedb.com, and we're also available 24x7 via email and phone at the details below:
Customer Support Email: techsupport@enterprisedb.com
Trial Use Assistance: trial-help@enterprisedb.com
US +1-732-331-1320 / 1-800-235-5891
UK +44-2033719820
Brazil +55-2139581371
India +91-20-66449612