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 1gLwhX-00044l-5W for pgsql-general@arkaria.postgresql.org; Sun, 11 Nov 2018 20:51:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gLwhU-0003JW-6v for pgsql-general@arkaria.postgresql.org; Sun, 11 Nov 2018 20:51:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gLwhT-0003JP-R8 for pgsql-general@lists.postgresql.org; Sun, 11 Nov 2018 20:51:19 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gLwhR-0005eS-9M for pgsql-general@postgresql.org; Sun, 11 Nov 2018 20:51:18 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id D177C992C8 for ; Sun, 11 Nov 2018 12:51:15 -0800 (PST) Date: Sun, 11 Nov 2018 12:51:15 -0800 (PST) From: Rich Shepard To: pgsql-general@postgresql.org Subject: Re: Move cluster to new host, upgraded version In-Reply-To: <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> Message-ID: References: <87wopjv2gu.fsf@news-spur.riddles.org.uk> <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, 11 Nov 2018, Adrian Klaver wrote: > pg_dumpall is going to need to run against a Postgres server not just a data > directory. Adrian, Of course. Yet it's the data directory that's written to the .sql file. > If both your old and new machines are on the same network, why not just > point the 11.1 pg_dumpall(on the new machine) at the 9.5 server running on > the old machine? The old host is running 10.5. Haven't tried to run an application on one host using data on another host. I'll look at which tool will do that. Thanks, Rich