Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVHRa-0001gi-9p for pgsql-general@arkaria.postgresql.org; Sun, 03 May 2020 16:26:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jVHRX-0000jL-39 for pgsql-general@arkaria.postgresql.org; Sun, 03 May 2020 16:26:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVHRW-0000jD-S4 for pgsql-general@lists.postgresql.org; Sun, 03 May 2020 16:26:14 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVHRP-0000Zv-EQ for pgsql-general@lists.postgresql.org; Sun, 03 May 2020 16:26:13 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id A364F2F3C; Sun, 3 May 2020 18:26:01 +0200 (CEST) Date: Sun, 3 May 2020 18:26:01 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: How to move a 11.4 cluster to another Linux host, but empty? Message-ID: <20200503162601.GA18328@hjp.at> References: <20200501081029.GA3261@c720-r342378> <999AE92C-F74D-4399-8FE1-1DB80D08915D@gmail.com> <20200501083148.GA3595@c720-r342378> <20200502102329.GA14178@c720-r342378> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <20200502102329.GA14178@c720-r342378> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2020-05-02 12:23:29 +0200, Matthias Apitz wrote: > So the question remains: What I have to move by tar to get the cluster > setup on the new host, but without the databases in it? What exactly do you mean by "the cluster [setup], but without the databases in it"? What do you want to preserve that a simple initdb doesn't recreate? Configuration? Users and passwords? Other stuff? If you can answer this question, the solution will probably be simple. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl6u8JUACgkQ8g5IURL+ KF0WmQ//Y6Am+NJC4zSxtcf+AkPktec9aF9vewE2t7uRxs2gnRvIF4Tv1tl7PgcU CxcB+LTdW4xAFAVBzEUljFwLCGcQn/yokTtV4JnAAn65kXmVdPvM2x8tN8/1C+MU aH4AYw7NFXF/M9ft38w4Vq00KkE3944MkZudcbXe4sHDrIKwkgoB4aQaOY0i7RQP yNBcoPumqS2UnMcjhOkNFVh/0nS8OKPiqL99GtHtgJYWJBs6nP/Q+xxD1Il4tSOd L7aAH6sAmZSvPKzOLH09zuAfXoXju191hURtw2Ge4V5Z4vu7tLFxS3INzVGVvPrG 0FodVzxHslQVY8aOE+8Ae67Ty5WhsgNmaIsC1AgWq0ABmV+1jXQqcl2KKB5AyGpA bdCwKHiU8ivxFvEIGvOP/8zmG4BeIaj4rGT8tj4qgLAvD3QKsdKTk5yirnJch6X9 QipLZiSYEcUy7I+NvnhP5qs5+tMR0XNzref79d729Jf2PfhMBUcPq32SNqdzHkIZ JVRcWPvcKqWz95bsh17P1Uelp3fElyi7XoCWGnnRphMIfvH0RBcwbEfJ/wv7uDCi iMDXloHEhJRYaZCn/ja4/WyJKbRY4Itj8lS+NEZVJ+jGwdAwdHNPO+1ptxxTbu5N MyLK1mj1JHBLbh6j8spEwklfdd/WbzLWG/MOTMEeq5MLAe7rCII= =//55 -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--