From: Tom Lane <tgl@sss.pgh.pa.us>
To: Atul Kumar <akumar14871@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: issue with remote backup
Date: Thu, 26 Oct 2023 13:15:34 -0400
Message-ID: <1190099.1698340534@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+ONtZ5Cuct0_x6pE=k-8fMPFeBp-i2TBZ-U3=agqadUER2FFA@mail.gmail.com>
References: <CA+ONtZ5Cuct0_x6pE=k-8fMPFeBp-i2TBZ-U3=agqadUER2FFA@mail.gmail.com>
Atul Kumar <akumar14871@gmail.com> writes:
> In pg_hba.conf file I have an entry like below:
> host all all <remote server ip>/32 md5
That is an entry governing ordinary session connections ...
> Error that I got:
> pg_basebackup: error: FATAL: no pg_hba.conf entry for replication
> connection from host "remote_ip", user "postgres", SSL off
... and that is complaining about the lack of an entry for
replication connections. They are handled by different pg_hba.conf
entries.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, akumar14871@gmail.com
Subject: Re: issue with remote backup
In-Reply-To: <1190099.1698340534@sss.pgh.pa.us>
References: <CA+ONtZ5Cuct0_x6pE=k-8fMPFeBp-i2TBZ-U3=agqadUER2FFA@mail.gmail.com> <1190099.1698340534@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox