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 1gLwG2-0002n1-64 for pgsql-general@arkaria.postgresql.org; Sun, 11 Nov 2018 20:22:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gLwG0-00027l-Dz for pgsql-general@arkaria.postgresql.org; Sun, 11 Nov 2018 20:22:56 +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 1gLwFz-00024a-Th for pgsql-general@lists.postgresql.org; Sun, 11 Nov 2018 20:22:56 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gLwFx-00051B-Kd for pgsql-general@postgresql.org; Sun, 11 Nov 2018 20:22:54 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C457A2106A; Sun, 11 Nov 2018 15:22:52 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 11 Nov 2018 15:22:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=N oyMQiXzPq3VBv/JfL56j3S+jPycZG3V0LmfA1rzbW0=; b=y49+PwBNYOvUJWVJL urWDMqG6Yp/TWWd2I7Vc4OPbIrE6nyM2VT7R7jXeRNN4YRVm2Vd54iDPXGfYJm57 vMSwKyKlC5cWLL0mv7O+l3Ib0W6VLRY01HymOrXBJyuiCSfaIrnQHXeF8NHdM5Pj fQqrVlL6rXjJWbEwZ3nujTTJHVwmRps9YfcWWORq1Qsmpa3RvqxzXn+dxHwONHWh zPJHt10gzPAwPuIsoTYqudVJKlPQKbGkY4ybJAI3ndd+v1igd4Caqnb3jvBJglbR wRVbqP4I1EHKx48VXh5alNynbG5wohamqdgyhM7mS4SE+vfHX0UqP+uudeW+8rjY idRFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=NoyMQiXzPq3VBv/JfL56j3S+jPycZG3V0LmfA1rzb W0=; b=cYPNdDC0DNMGHAzlFEHY5R/VPQTJS0Xe1BfWUwyESUt+hGUhxHm3RHopy QX692KXhmh3QMkepqXGKrBy6HZS6DrN7kka1Rj/R/M2Wfixo8SHqMeUL7Xy4EOaL oQHl1b19pPzNp7unFuTksOFXX3rH6//+AdVRAJC43EMjmbIPB6mrpf1LU0zn2Iif CgCjPrYBasQNxI2YgHu9sS0zmJavizQkSAguPuLbhw6deqxW+xdw87Hy61dD83Hf 8JLa2j/r9HPeHAajTAV2iJtuc0+zzLwrUN6PuV32gssgQ7zrxZmnSiyK0ucy6vS2 yaMbdo1HRMXesaZBErHmiK+u1Qv1Q== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id E0151E4307; Sun, 11 Nov 2018 15:22:51 -0500 (EST) Subject: Re: Move cluster to new host, upgraded version To: Rich Shepard , pgsql-general@postgresql.org References: <87wopjv2gu.fsf@news-spur.riddles.org.uk> From: Adrian Klaver Message-ID: <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> Date: Sun, 11 Nov 2018 12:22:51 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/11/18 12:18 PM, Rich Shepard wrote: > On Sun, 11 Nov 2018, Andrew Gierth wrote: > >> 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. > > Andrew, > >   Using the SlackBuilds.org script with an updated version number > worked for > 11.1. So, I'll install it on the old desktop and upgrade in place. Then I > can use the 11.1 pg_dumpall on the data directory and copy that over to the > new desktop. pg_dumpall is going to need to run against a Postgres server not just a data directory. 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? > > Thanks, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com