Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qw3xP-009Jye-OB for pgsql-general@arkaria.postgresql.org; Thu, 26 Oct 2023 17:15:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qw3xO-002iRB-78 for pgsql-general@arkaria.postgresql.org; Thu, 26 Oct 2023 17:15:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qw3xN-002iR2-SN for pgsql-general@lists.postgresql.org; Thu, 26 Oct 2023 17:15:41 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qw3xH-002RBQ-PL for pgsql-general@lists.postgresql.org; Thu, 26 Oct 2023 17:15:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 39QHFYI21190100; Thu, 26 Oct 2023 13:15:34 -0400 From: Tom Lane To: Atul Kumar cc: pgsql-general Subject: Re: issue with remote backup In-reply-to: References: Comments: In-reply-to Atul Kumar message dated "Thu, 26 Oct 2023 22:21:42 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1190098.1698340534.1@sss.pgh.pa.us> Date: Thu, 26 Oct 2023 13:15:34 -0400 Message-ID: <1190099.1698340534@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Atul Kumar writes: > In pg_hba.conf file I have an entry like below: > host all all /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