Thread: Backup Issue for pg_basebackup

Backup Issue for pg_basebackup

From
Somnath Som
Date:
We are getting below error when running pg_basebackup for a database.

pg_basebackup: error: FATAL:  no pg_hba.conf entry for replication connection from host "127.0.0.1", user "postgres", SSL on

FATAL:  no pg_hba.conf entry for replication connection from host "127.0.0.1", user "postgres", SSL off -e


Re: Backup Issue for pg_basebackup

From
SOzcn
Date:

Hello,

This is a specific error. You need to specify the IP information of the server where you are providing the replica and the user that will perform the replication in pg_hba.conf on the main cluster. You can find examples of this in many sources.

Have a nice day.


Somnath Som <somnath.spice@gmail.com>, 1 Şub 2025 Cmt, 19:26 tarihinde şunu yazdı:
We are getting below error when running pg_basebackup for a database.

pg_basebackup: error: FATAL:  no pg_hba.conf entry for replication connection from host "127.0.0.1", user "postgres", SSL on

FATAL:  no pg_hba.conf entry for replication connection from host "127.0.0.1", user "postgres", SSL off -e