Barman 1.6.1 released

1 minute read

2ndQuadrant is proud to announce the release of Barman version 1.6.1, a Backup and Recovery Manager for PostgreSQL.

This minor release introduces support for ‘–peek’ option for ‘get-wal’ command which allow users to implement parallel remote restore commands on standby servers and during recovery.

Through the new ‘replication-status’ command, Barman becomes a very practical tool for monitoring streaming replication status of every managed server.

A few important improvements have been added to the ‘check’ command, which should make installation and initial configuration easier. Another step in this direction is the ‘switch-xlog’ command, a new feature also included in this release.

Minor bugs have also been fixed, including support for ‘archive_mode=always’ for PostgreSQL 9.5, as well as ‘FAILED’ backups preventing new one from being taken.

Many thanks for funding towards the development of this release go to Jobrapido (, Navionics (, and (

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

Release notes

  • Add ‘–peek’ option to ‘get-wal’ command to discover existing WAL files from the Barman’s archive

  • Add ‘replication-status’ command for monitoring the status of any streaming replication clients connected to the PostgreSQL server. The ‘–target’ option allows users to limit the request to only hot standby servers or WAL streaming clients

  • Add the ‘switch-xlog’ command to request a switch of a WAL file to the PostgreSQL server. Through the ‘–force’ it issues a ‘CHECKPOINT’ beforehand

  • Add ‘streaming_archiver_name’ option, which sets a proper ‘application_name’ to ‘pg_receivexlog’ when ‘streaming_archiver’ is enabled (only for PostgreSQL 9.3 and above)

  • Check for superuser privileges with PostgreSQL’s standard connections (#30)

  • Check the WAL archive is never empty

  • Check for ‘backup_label’ on the master when server is down

  • Improve barman-wal-restore contrib script

  • Bug fixes:

    • Treat the “failed backups” check as non-fatal
    • Rename ‘-x’ option for get-wal as ‘-z’
    • Add archive_mode=always support for PostgreSQL 9.5 (#32)
    • Properly close PostgreSQL connections when necessary
    • Fix receive-wal for pg_receive_xlog version 9.2