Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXpaj-0005PP-7h for pgsql-general@arkaria.postgresql.org; Mon, 03 Jun 2019 16:13:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hXpai-0006bv-0E for pgsql-general@arkaria.postgresql.org; Mon, 03 Jun 2019 16:13:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXpah-0006bo-Mb for pgsql-general@lists.postgresql.org; Mon, 03 Jun 2019 16:13:43 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hXpaf-0004fT-2x for pgsql-general@lists.postgresql.org; Mon, 03 Jun 2019 16:13:43 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 52E985F7AB; Mon, 3 Jun 2019 12:13:39 -0400 (EDT) Date: Mon, 3 Jun 2019 12:13:39 -0400 From: Stephen Frost To: PALAYRET Jacques Cc: pgsql-general@lists.postgresql.org Subject: Re: One way replication in PostgreSQL Message-ID: <20190603161339.GQ2480@tamriel.snowman.net> References: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TuLZpJsoCmPfu6RO" Content-Disposition: inline In-Reply-To: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --TuLZpJsoCmPfu6RO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * PALAYRET Jacques (jacques.palayret@meteo.fr) wrote: > If, for security reasons, I can't create a connection or a flow from subs= criber/secundary/slave towards provider/primary/master, witch replication s= ystems can I use ?=20 The simplest approach might be to use WAL shipping with one of the various backup tools that do that- eg: you could use pgbackrest in the archive_command of the primary system and push WAL to a repo that's on the replica (or some other system that the replica is allowed to connect to). > If possible, I would prefer partial replication (only some tables) to ful= l base replication (all instances).=20 Just to be clear, you couldn't use a WAL-based shipping method for partial replication (at least, not today anyway). Thanks, Stephen --TuLZpJsoCmPfu6RO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJc9UcyAAoJEO1sijiDR2RVJUIP/1+qXEo1w8kknsZ+it4Gg0jU /+iht6MysGsSjGC7LRnK0fJwIm+BC7CXaohm8R9clxQ+Ed23BSvqiaL1PWxk2QWn vbNFWaWVlirgLQTZOzPOYYGXfHOe1K2fHV//N74CmD1WEv9P+T3mQfUQygXGX7Pi b4sE3Q+1KEDu6V00p8oefzbZFfHN1yQp+4M4npHX65Iifv6CSB4vAOUiA4mD4yeC Z2L5YBgEOddUSU1oUzs9zaVARErBXf3NMwjlSo7T6XtBm1U2qgzuKX3oBb83MGDC WobWVqa4GA9GQWTFxcaIJB8xGWvx7Y8O1gyrCDCaXlaLUH+OFweLOk9Aq8uc6SbQ j/pH/5rPP6VHG+MEqrhxYKxKlSQT6KfwsuqCeyftznRDKveXOlrubvb3z0tFuZDR d607dLkN1+bX4OnIdlQIUFwlYVGFslnSuxkVYBK0EfQ2mxB1abjUlq1MeDCfYWGs GfnVrMy8KI0oEOIoGXh4jEKj3agbDnagf9Y3LGKGdN5V00hXv8ZJpE0GPpW6QN2V uSTviRJaCH/dK7AE+8Y7988k7kvVtln7cj6xsjFVpk6/kaQ+4LGHLI0gwV2JIDa5 6xGYv5rWDxVC3w+oiggiJGTpyNgkjEu6eTf6LN9cG34JqzM/l1rdgtROIUPmF4s5 Pdv03H2wCewcxDY/1Kp1 =Tjmh -----END PGP SIGNATURE----- --TuLZpJsoCmPfu6RO--