Atul Kumar <akumar14871@xxxxxxxxx> 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