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 1fxDfp-00042T-5b for pgsql-general@arkaria.postgresql.org; Tue, 04 Sep 2018 15:55:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxDfm-0005Gc-P4 for pgsql-general@arkaria.postgresql.org; Tue, 04 Sep 2018 15:55:22 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxDfm-0005GD-HU for pgsql-general@lists.postgresql.org; Tue, 04 Sep 2018 15:55:22 +0000 Received: from mail-oi0-x242.google.com ([2607:f8b0:4003:c06::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fxDfi-0000Qt-S6 for pgsql-general@lists.postgresql.org; Tue, 04 Sep 2018 15:55:21 +0000 Received: by mail-oi0-x242.google.com with SMTP id l202-v6so7660732oig.7 for ; Tue, 04 Sep 2018 08:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=2IPGfwsZZ1JsOCczSMDz7ZnL4VZ5wcJ9U7K9W5zWhno=; b=KO9RnlVd7UX/9AuIOdXVhsFZHvxoHUQwoHvAelwSAcZPBeL/qoDbLtGUrpICcUQNp4 mZ1sIWMEyeOoyQmeX+pvBboOUNg383teEJFovCjAsaJrrNwwCscRbZE0sTGhlDcC8qhC SpUaylm7LNqGxtK8BQIk1wULE7qrJ/JAgIQMn52D1HLWrRHTuwIDPWIoPgzgM5xew2NT VQMFA7je3E5Pdt9SOYeQmm6avtKnKYJlD6iH4ungiVx9RGXZyFZoHlN+/LXk0lRw9Du7 bWU7fwZ7Vx+zR4CQHRvOCVKh/jmE+76jEmB32TiDAHrNR7WrvESqq26tQ6PItx1wQiS3 HI8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=2IPGfwsZZ1JsOCczSMDz7ZnL4VZ5wcJ9U7K9W5zWhno=; b=FM8i3rfUXCOknV7lK4bATmBAICGcEgIZtW5DiIxSGs0XKU0UOpQLofQLzE2xFccw2c ZydnAmXemfbMd158In273lXE1zBtaeXCc+J8qmcHut3VLEbH9rec/gCAH1kYO+pMGBUP 0zotCFf9hWMdMnBM1UtNqvAOdSGLntSO89vJds52DAfSQer/cjFyDlQq+jWjbKQbhkOB /LCkuhN3qSy2mguRm95E1EPRn4DfP+uO8XS3HDdbUYgEGkr2m/zNzxAVBcDKOzCNWXNN Ct9WUNN+nf4jVmkYkWYCHbJ7MPxMvKbDWLwV6+uClqxQy1hGBo7F0kkuGx3usuwhZ8t0 78hQ== X-Gm-Message-State: APzg51AUgqBcTFaMtPv0fkAglSoHfP9Uw77PSyBfWtOF+HrsxtYYHbFF oj1t3dE49EYu8BgI63hnJvGDc8MZ X-Google-Smtp-Source: ANB0VdZNHpi5j4bkNoRZFKO7hxLhPqJ1VfLM6sqHBb4J+fr4emoZtM8v1+DgmtoVv6QqSniAmQ4b1A== X-Received: by 2002:aca:3744:: with SMTP id e65-v6mr26363992oia.12.1536076516695; Tue, 04 Sep 2018 08:55:16 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id x23-v6sm12037577oie.0.2018.09.04.08.55.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 08:55:15 -0700 (PDT) Subject: Re: Barman versus pgBackRest To: 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> From: Ron Message-ID: <5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com> Date: Tue, 4 Sep 2018 10:55:15 -0500 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: <45526839-10a0-a22e-bde3-6d0a01eeb509@pgmasters.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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? -- Angular momentum makes the world go 'round.