Barman 2.4 released
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.
Links
- Website
- Download
- Documentation
- Man page, section 1
- Man page, section 5
- Support
- Client utilities for Barman
- pgespresso extension
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 tobarman recover
to addstandby_mode = on
in pre-generatedrecovery.conf
-
Add
--target-action
option tobarman recover
, allowing users to addshutdown
,pause
orpromote
to the pre-generatedrecovery.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
whenpg_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()
tobarman\_command()
(Github #118) -
Initialise synchronous standby names list if not set (Github #111)
-
Correct placeholders ordering (GitHub #138)
-
Force
datestyle
toiso
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)