Re: issue with remote backup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Atul Kumar <akumar14871(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: issue with remote backup
Date: 2023-10-26 17:15:34
Message-ID: 1190099.1698340534@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Atul Kumar <akumar14871(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2023-10-26 17:21:49 Re: issue with remote backup
Previous Message Atul Kumar 2023-10-26 16:51:42 issue with remote backup