barman & barman-cli - how important is version equality?

Skip to first unread message

Jan 12, 2022, 7:37:27 PMJan 12
I am banging my head against the wall with getting streaming backups running on a fresh pair of postgres & barman servers.

barman check continues to give me WAL archive: FAILED (please make sure WAL shipping is setup)

There is even ssh connectivity between both machines (which, due to the documentation is not even required for streaming backups).
I have noted though that the version of barman-cli 2.12 on the postgres server does not match the version of barman 2.17 on the barman server.

Could this be causing trouble?

Michael Wallace

Jan 13, 2022, 5:01:00 AMJan 13
In this particular case the different version of barman-cli on the postgres server is not part of the problem because the tools added by the barman-cli package are not used in streaming archiving.

Could the problem be that WALs are being received successfully by pg_receivewal but `barman cron` is not running on the barman server, so the WALs are not being moved into `${BARMAN_HOME}/server/wals`?

Take a look in `${BARMAN_HOME}/streaming` - do you see any WALs there? If so then they should be archived into `${BARMAN_HOME}/wals` when `barman cron` runs.
If you don't see any WALs then it is possible there simply hasn't been enough activity on the postgres server to cause it to switch to a new WAL segment - try running `psql -c "select pg_switch_wal();"` on the postgres server and then check in `${BARMAN_HOME}/streaming` again to see if a new WAL has been received.

You received this message because you are subscribed to the "Barman for PostgreSQL" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

You received this message because you are subscribed to the Google Groups "Barman, Backup and Recovery Manager for PostgreSQL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web, visit
Reply all
Reply to author
0 new messages