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 1gLvTy-0000cF-Go for pgsql-general@arkaria.postgresql.org; Sun, 11 Nov 2018 19:33:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gLvTw-0003ax-3a for pgsql-general@arkaria.postgresql.org; Sun, 11 Nov 2018 19:33:16 +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 1gLvTv-0003ZM-Ny for pgsql-general@lists.postgresql.org; Sun, 11 Nov 2018 19:33:15 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gLvTt-0003pU-2l for pgsql-general@postgresql.org; Sun, 11 Nov 2018 19:33:14 +0000 Received: from [192.168.127.1] (port=50764 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1gLvTq-000E4P-DJ; Sun, 11 Nov 2018 19:33:10 +0000 Received: from [127.0.0.1] (port=32387 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gLvTp-000P6R-MQ; Sun, 11 Nov 2018 19:33:09 +0000 From: Andrew Gierth To: Rich Shepard Cc: pgsql-general@postgresql.org Subject: Re: Move cluster to new host, upgraded version In-Reply-To: (Rich Shepard's message of "Sun, 11 Nov 2018 11:21:25 -0800 (PST)") Message-ID: <87wopjv2gu.fsf@news-spur.riddles.org.uk> References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Sun, 11 Nov 2018 19:33:09 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Rich" == Rich Shepard writes: Rich> My current desktop server/workstation is running version 10.5. Rich> I'm configuring a replacement desktop and have installed version Rich> 11.1 on it. To copy all databases from the 10.5 version to the Rich> 11.1 version I assume that I should do a pg_dumpall on the Rich> current host and read in that file on the replacement host. Is Rich> this the proper procedure? The most reliable and preferred procedure is to use the _new_ version's pg_dumpall, for example by allowing access to the old host from the new one (possibly using an ssh port forward), or (on OSes that make it easy to do package installs of multiple versions) to install the new pg_dump and pg_dumpall on the old system. Using the old version's pg_dumpall also generally speaking works, but there may be occasional rough edges. -- Andrew (irc:RhodiumToad)