public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Amitabh Kant <[email protected]>
Cc: KK CHN <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: PgbackRest : Stanza creation fails on DB Server and Repo Server
Date: Wed, 28 Aug 2024 07:58:04 -0700
Message-ID: <CAKFQuwax7xHofBW+phfbPDweGoqvf1BWbVwSVDKJTemR249LOg@mail.gmail.com> (raw)
In-Reply-To: <CAPTAQBLb3iaPMwcf45xz9GtR1qkQiEYqYa_R-ukNADHbpZZGNQ@mail.gmail.com>
References: <CAKgGyB_go+bQbN94ShuKVeqzFfKfKOTswRooCtBYY+omC4MFUw@mail.gmail.com>
	<CAKFQuwbLQ0F2igoUFWq5k602fwRjTBCua4hD98Rv1HQXC49tGw@mail.gmail.com>
	<CAPTAQBLb3iaPMwcf45xz9GtR1qkQiEYqYa_R-ukNADHbpZZGNQ@mail.gmail.com>

On Wednesday, August 28, 2024, Amitabh Kant <[email protected]> wrote:

> On Wed, Aug 28, 2024 at 8:00 PM David G. Johnston <
> [email protected]> wrote:
>
>> On Wednesday, August 28, 2024, KK CHN <[email protected]> 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.
>>
>>
> Section 21.4 on this page ( https://pgbackrest.org/user-
> guide.html#introduction )  does seem to mention the use of .pgpass file.
> I have no idea about the actual problem though.
>

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.


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: PgbackRest : Stanza creation fails on DB Server and Repo Server
  In-Reply-To: <CAKFQuwax7xHofBW+phfbPDweGoqvf1BWbVwSVDKJTemR249LOg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox