Can I know when I configure Barman on the HA server, do I need to install a Postgres on barman server?
When I do barman check, my output is like this:
PostgreSQL: OK
is_superuser: OK
PostgreSQL streaming: OK
wal_level: OK
replication slot: FAILED (slot 'barman' not initialised: is 'receive-wal' running?)
directories: OK
retention policy settings: OK
backup maximum age: FAILED (interval provided: 1 day, latest backup age: No available backups)
compression settings: OK
failed backups: OK (there are 0 failed backups)
minimum redundancy requirements: OK (have 0 backups, expected at least 0)
pg_basebackup: OK
pg_basebackup compatible: OK
pg_basebackup supports tablespaces mapping: OK
archive_mode: OK
archive_command: OK
continuous archiving: OK
pg_receivexlog: FAILED
pg_receivexlog compatible: FAILED (PostgreSQL version: 9.4.17, pg_receivexlog version: None)
receive-wal running: FAILED (See the Barman log file for more details)
archiver errors: OK
How can I install pg_receivexlog on barman server?
Thanks
Eva
Edit postgresql.conf and configure PostgreSQL database server with this options
Then execute on command line following command:
Thats creates barman streaming user. Then go to pg_hba.conf and configure user and barman server IP conection like below
On barman server run