Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxDmE-0004MU-Tg for pgsql-general@arkaria.postgresql.org; Tue, 04 Sep 2018 16:02:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxDmD-0002VF-BT for pgsql-general@arkaria.postgresql.org; Tue, 04 Sep 2018 16:02:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxDmC-0002V7-Vr for pgsql-general@lists.postgresql.org; Tue, 04 Sep 2018 16:02:01 +0000 Received: from lists.commandprompt.com ([2604:da00:2:2:5054:ff:fe07:7618]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxDm6-0008H5-E7 for pgsql-general@lists.postgresql.org; Tue, 04 Sep 2018 16:01:59 +0000 Received: from [192.168.50.9] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id EAF8253E; Tue, 4 Sep 2018 09:01:52 -0700 (PDT) Received: from c-73-97-49-9.hsd1.wa.comcast.net ([73.97.49.9] helo=[192.168.50.9]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.5.1); 4 Sep 2018 09:01:52 -0700 Subject: Re: Barman versus pgBackRest To: Ron , pgsql-general@lists.postgresql.org References: <0eb45bab-8ff7-7255-f052-951edd09b804@gmail.com> <082d0d98-2dcd-8c4b-31b6-3ca47b4159b3@gmail.com> <5d1e08a4-e7c9-0d32-7d01-5b1c76cc67ef@gmail.com> <9c69ec56-d094-e4e7-d7ab-f2ae6652604a@commandprompt.com> <2524d3b7-5e77-f4c8-2c60-364715a74d93@gmail.com> <45526839-10a0-a22e-bde3-6d0a01eeb509@pgmasters.net> <5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com> From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <2454adca-c4b6-39c7-80f0-a435404b0209@commandprompt.com> Date: Tue, 4 Sep 2018 09:01:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Assp-Version: 2.5.1(16177) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-76912-00161 X-Assp-Session: 7F8C3C1C5150 (mail 1) X-Assp-Original-Subject: Re: Barman versus pgBackRest X-Assp-Client-SSL: yes List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 09/04/2018 08:55 AM, Ron wrote: > On 09/04/2018 10:51 AM, David Steele wrote: > [snip] >> This will work, but I don't think it's what Ron is getting at. >> >> To be clear, it is not possible to restore a database into an *existing* >> cluster using pgBackRest selective restore.  This is a limitation of >> PostgreSQL file-level backups. >> >> To do what Ron wants you would need to restore it to a new cluster, then >> use pg_dump to logically dump and restore it to whatever cluster you >> want it in.  This still saves time since there is less to restore but is >> obviously not ideal. > > That's exactly what I'm referring to. > > Presumably I could restore it to a new cluster on the same VM via > initdb on a different port and PGDATA directory? Yes. jD -- Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc *** A fault and talent of mine is to tell it exactly how it is. *** PostgreSQL centered full stack support, consulting and development. Advocate: @amplifypostgres || Learn: https://postgresconf.org ***** Unless otherwise stated, opinions are my own. *****