On Wednesday, August 28, 2024, Amitabh Kant <
amitabhkant@gmail.com> wrote:
On Wednesday, August 28, 2024, KK CHN <kkchn.in@gmail.com> wrote:
and I have .pgpass in DB server as
You assumed this mattered but I see no mention that pgBackRest consults this file.
It seems to require the local entry in pg_hba.conf to use peer authentication.
David J.
Yes, postgres itself uses .pgpass so when you configure streaming replication between two servers, something that is doable regardless of using pgBackRest, the server-to-server connection can utilize .pgpass.
David J.