Barman 2.4 released

1 minute read

25 May 2018: 2ndQuadrant is proud to announce the release of Barman version 2.4, a Backup and Recovery Manager for PostgreSQL.

This minor release introduces three new types of hook scripts around recovery process, backup deletion and WAL deletion.

It also fixes an important bug that prevented incremental recovery from happening (Github issue #151).

Usability of recovery has also been improved thank to two new options for the recover command, --target-action and --standby-mode, that allow users to control with finer granularity the content of the pre-generated recovery.conf file.

Minor bugs have also been fixed.

For a complete list of changes, see the “Release Notes” section below.

Release notes

  • Add standard and retry hook scripts for backup deletion (pre/post)

  • Add standard and retry hook scripts for recovery (pre/post)

  • Add standard and retry hook scripts for WAL deletion (pre/post)

  • Add --standby-mode option to barman recover to add standby_mode = on in pre-generated recovery.conf

  • Add --target-action option to barman recover, allowing users to add shutdown, pause or promote to the pre-generated recovery.conf file

  • Improve usability of point-in-time recovery with consistency checks (e.g. recovery time is after end time of backup)

  • Minor documentation improvements

  • Drop support for Python 3.3

Relevant bug fixes:

  • Fix remote get_file_content method (Github #151), preventing incremental recovery from happening

  • Unicode issues with command (Github #143 and #150)

  • Add --wal-method=none when pg_basebackup >= 10 (Github #133)

Minor bug fixes:

  • Stop process manager module from ovewriting lock files content

  • Relax the rules for rsync output parsing

  • Ignore vanished files in streaming directory

  • Case insensitive slot names (Github #170)

  • Make DataTransferFailure.from\_command\_error() more resilient (Github #86)

  • Rename command() to barman\_command() (Github #118)

  • Initialise synchronous standby names list if not set (Github #111)

  • Correct placeholders ordering (GitHub #138)

  • Force datestyle to iso for replication connections

  • Returns error if delete command does not remove the backup

  • Fix exception when calling is_power_of_two(None)

  • Downgraded sync standby names messages to debug (Github #89)

Download