EnterpriseDB/repmgr

barman mode on same host: can it use backup without ssh ?

Closed this issue · 2 comments

A small master/backup setup, where backup hosts barman and the standby cluster.
repmgr is setup in barman mode, however it's using ssh @localhost, which is somewhat slow,
and i suppose it could be way faster if it was doing a local rsync.
Is is possible ?

This is not possible - we don't recommend placing Barman on a server running a PostgreSQL instance, and the code does not support this use case.

You can however use the barman recover command to do a local restore from Barman, and execute repmgr standby clone --replication-conf-only to complete the replication configuration.

Thank you, resolution accepted !