hapostgres / pg_auto_failover

Postgres extension and service for automated failover and high-availability
Other
1.1k stars 115 forks source link

Barman should automatically ignore primary_conninfo if running as primary #965

Closed allanharry closed 1 year ago

allanharry commented 1 year ago

Barman can identify if server is running as primary or standby - "barman status servername" If running as primary then ignore primary_conninfo parameter when backup is taken on primary. If running as standby use primary_conninfo to switch wal on primary when finalizing backup on standby.

Then you dont have to adjust conf file each time cluster doing a fail-over

Running Barman version 3.2.0

allanharry commented 1 year ago

Sorry - it was created in the wrong place :(

allanharry commented 1 year ago

My bad