hi
a novice here, trying to use barman on a master-slave repmgr setup.
I do, on master:
$ barman check rider
Server rider:
WAL archive: FAILED (please make sure WAL shipping is setup)
PostgreSQL: OK
is_superuser: OK
wal_level: OK
directories: OK
retention policy settings: OK
backup maximum age: FAILED (interval provided: 3 days, 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)
ssh: OK (PostgreSQL server)
not in recovery: OK
archive_mode: OK
archive_command: OK
continuous archiving: OK
archiver errors: OK
then in log:
..
2017-11-14 15:00:23,338 [2035754] barman.server ERROR: Check 'WAL archive' failed for server 'rider'
2017-11-14 15:00:23,384 [2035754] barman.server ERROR: Check 'backup maximum age' failed for server 'rider'
If I try to backup, the in log:
..
2017-11-14 15:00:51,523 [2035888] barman.server ERROR: Check 'WAL archive' failed for server 'rider'
2017-11-14 15:00:51,569 [2035888] barman.server INFO: Ignoring failed check 'backup maximum age' for server 'rider'
2017-11-14 15:00:52,202 [2035888] barman.server ERROR: Impossible to start the backup. Check the log for more details, or run 'barman check rider'
I believe my repmgr master-slave works fine, I can for example switch over fine,
I hope someone could point me on the right path of investigation. I checked repmgr docs and I believe I have it as the docs say, same for barman, and not being pg expert it's really hard to guess what's wrong.
many thanks, L.