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 1idLgJ-0002ll-Mj for pgsql-general@arkaria.postgresql.org; Fri, 06 Dec 2019 22:02:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1idLgI-0006Jt-9Z for pgsql-general@arkaria.postgresql.org; Fri, 06 Dec 2019 22:02:34 +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 1idLgH-0006Jl-VQ for pgsql-general@lists.postgresql.org; Fri, 06 Dec 2019 22:02:34 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1idLgE-000534-QC for pgsql-general@postgresql.org; Fri, 06 Dec 2019 22:02:33 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id ECE9B21B5A; Fri, 6 Dec 2019 17:02:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 06 Dec 2019 17:02:28 -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=H Ar5WM0UG20T0kFUcZrh32IE2DdC+yBYauTca6Nd+iI=; b=OR3Fb9a45opOEskFj TA/jKTIDwzapwB1VxC7eokaGGJhayizp5ejqwpzTeYU3gdTwHfLR6ZuW+wiuAifQ dipPSmY1E6MXst1J6o+L1r3YetFHaTYC7/oWNCR16D42kxgz1Gz9Ong6LeTC8KiL XFsxyHdBWrZJTf4++l3FHYpnf4M4xI+kxJCSvWkAK0yimjILFRn9451b/64v6Zhd 19u2vEJn09t9h9pClsxxglv0tjj0npGcj147tENMZVvH6ikpAnlO52NqfpYB1LQQ Ow3UvM5Xnwogiavhky+qmOnRWayzOhiMxv2jibYSwUcIaHm0O6lPBUMecYjf0Ye6 nlcFQ== 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=HAr5WM0UG20T0kFUcZrh32IE2DdC+yBYauTca6Nd+ iI=; b=KpSiaGoisB9UtPfLlAV5p671EHUPEFXpXJoUmlaica8wtmBb/thJ6+vHq uk7Ht1yga5NDvqWqMpcCoM8FyQgI7447ofz369JzwEyFdVmfH8eoheqnD3mjmG8b l9NAuMJRC/aKBB/o9+IGaT0e/v42n9gKiYjeufShb0kXf3bRmwu5JQIQUiGkqHBf 2a92fpcZfm1/tZbwqHXPHZkH/OFU2WKXzMf8iPiJaIbRFsA5HAHN1U3MRfy60L2N FU8QYVcybFWi29AEbxPk/5rXy9oAZtYF+a/QEoJN/3sUM5gW1jowfbyrsX6/8E/O mhE+uV8kzR0wSO8iyLGiyBGepyHIA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudekfedgudehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefheenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepvdhnughquhgrug hrrghnthdrtghomhenucfkphepjeefrddvfeelrdduudejrddvfeeknecurfgrrhgrmhep mhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmne cuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from ranger.suse (c-73-239-117-238.hsd1.wa.comcast.net [73.239.117.238]) by mail.messagingengine.com (Postfix) with ESMTPA id D23268005A; Fri, 6 Dec 2019 17:02:27 -0500 (EST) Subject: Re: migration from 9.4 to 9.6 To: Julie Nishimura , "pgsql-general@lists.postgresql.org" , pgsql-general References: From: Adrian Klaver Message-ID: Date: Fri, 6 Dec 2019 14:02:26 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/6/19 1:38 PM, Julie Nishimura wrote: > I'd like to copy one single database from 9.4 cluster to a new 9.6 > cluster (migration with the upgrade), to the different host Choices: 1) Dump/restore. 2) Afore mentioned Slony. 3) The pglogical extension(https://www.2ndquadrant.com/en/resources/pglogical/pglogical-docs/). The forerunner to the built in logical replication in 10+. > > > ------------------------------------------------------------------------ > *From:* Adrian Klaver > *Sent:* Friday, December 6, 2019 1:32 PM > *To:* Julie Nishimura ; > pgsql-general@lists.postgresql.org ; > pgsql-general > *Subject:* Re: migration from 9.4 to 9.6 > On 12/6/19 1:19 PM, Julie Nishimura wrote: >> Hello there, what would be my best way to migrate 2 tb single database >> from cluster 9.4 to another machine on 9.6? > > Not clear if you want to add database to an existing 9.6 cluster or > create a new 9.6 cluster containing the 9.4 database? > >> >> Thank you! > > > -- > Adrian Klaver > adrian.klaver@aklaver.com -- Adrian Klaver adrian.klaver@aklaver.com