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 1jUtzj-0007CA-T2 for pgsql-general@arkaria.postgresql.org; Sat, 02 May 2020 15:23:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jUtzi-0006xC-Ow for pgsql-general@arkaria.postgresql.org; Sat, 02 May 2020 15:23:58 +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 1jUtzi-0006x5-Gn for pgsql-general@lists.postgresql.org; Sat, 02 May 2020 15:23:58 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUtzg-0004hQ-Bp for pgsql-general@lists.postgresql.org; Sat, 02 May 2020 15:23:57 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CE2F521E; Sat, 2 May 2020 11:23:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 02 May 2020 11:23:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=w WFf8p4Itc6mp4j8I3Lg8aZPZVMUkeB8kzUkc/hM4a4=; b=wBWetPt0BktLrmGBv zAkUzluiBIUQqEiZGyYDzh9ipzCxogyWrfaG1hHP9XXM/8po1DuRzui5muZgEx73 LcdsD+XBUUz7S2PTzPU4wJXRA6u3vozauTO/tfpr7d9NV2PmAAyizJGo84XyZwZN t9J2MuWiJqoKC+Yf58Lxf5W6IWtEOk3m659uetrQIqZDVO0wSgWBWM8iJkww3tti neQtHauY9JCEhPr020QAPmGM4W0P3S9E9cvLO3k5gjYke9DVbyxObrpMH4K2BqOx AKOuoCfycHijpXYwpIO9OOObiY0iJmuAg3XO7+riQF1hZRt4yFCmdup9TTfmgzVn FetsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm2; bh=wWFf8p4Itc6mp4j8I3Lg8aZPZVMUkeB8kzUkc/hM4 a4=; b=h2A2CepVYPul+vC/g4APPz5uF7ihilrk9qZKgitqZcUBEZjMUhXpkWtWQ CGYRt7VvpZMZFFo04PxIulUxX6r7+YmvlRe1xTrXgvD4OiL/m5LOWtXQUlzxVWVb YoBGZWHQG1wi0jZwi1A0mpuZADWNPLPJkpkD0G48IPV+THrheXnfXV1QFTfM7f1D KlbOM2GP8lIC4rczvITrB1FL+4J2d2la0AG4nPaVgsjSbFfAPRSvVUyOeNQwnuWd jnWWjUGEZmdM1U2g/0Jj70B3IHmtJ4c7Ed3iM4S27cr3WEn23Ck+K/RPaGezlenp 9nhvhBk8exezC178e1IX/q9klx91g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrieelgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeevveefveefue egffekkefhgeeiueffgfetueejvdfghfeujeejhfekjeelgedtgeenucfkphepjeehrddu jedvrdehrddvfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E9BB328005D; Sat, 2 May 2020 11:23:53 -0400 (EDT) Subject: Re: How to move a 11.4 cluster to another Linux host, but empty? To: =?UTF-8?Q?Paul_F=c3=b6rster?= Cc: Matthias Apitz , pgsql-general References: <20200501081029.GA3261@c720-r342378> <999AE92C-F74D-4399-8FE1-1DB80D08915D@gmail.com> <20200501083148.GA3595@c720-r342378> <20200502102329.GA14178@c720-r342378> <6DC33DF2-120E-4EA7-B764-F1770EB66EE9@gmail.com> <20200502143031.GA16477@c720-r342378> <48137a5a-3bfe-500d-0d8a-7dc96b12ac37@aklaver.com> From: Adrian Klaver Message-ID: <84cd86a4-6757-2ae0-74bd-e36e86ee0c45@aklaver.com> Date: Sat, 2 May 2020 08:23:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.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 5/2/20 8:02 AM, Paul Förster wrote: > Hi Adrian, > >> On 02. May, 2020, at 16:59, Adrian Klaver wrote: >> 2) To create a new base/ you will need to initdb data/ and that is not possible as initdb will not work on a populated data/. > > you do the initdb and then copy the *.conf files from the tar over the newly created ones. After that, launch the cluster. Yeah I know, I do that on a fairly regular basis. The intent was to let the OP know that ripping base/ out of cluster and transplanting a new one in is not possible. > > Cheers, > Paul > -- Adrian Klaver adrian.klaver@aklaver.com