pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Barman versus pgBackRest
Date: Tue, 4 Sep 2018 09:01:52 -0700
Message-ID: <2454adca-c4b6-39c7-80f0-a435404b0209@commandprompt.com> (raw)
In-Reply-To: <5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com>
References: <CAN_ctnjgQcxqRZ+ENP61Q1BPbdN+gV0BbRiQEUgrny5rcgHQ-w@mail.gmail.com>
	<0eb45bab-8ff7-7255-f052-951edd09b804@gmail.com>
	<CAN_ctniZTZ3dWhORDDHOWBCcLTr2fgO36+JgQqAZwzC79ZQp+A@mail.gmail.com>
	<082d0d98-2dcd-8c4b-31b6-3ca47b4159b3@gmail.com>
	<CAN_ctngN1CmNzW0nC+me-z_srgMhfVr4S0Q7+3Y2dSzQf7ZH=w@mail.gmail.com>
	<5d1e08a4-e7c9-0d32-7d01-5b1c76cc67ef@gmail.com>
	<9c69ec56-d094-e4e7-d7ab-f2ae6652604a@commandprompt.com>
	<2524d3b7-5e77-f4c8-2c60-364715a74d93@gmail.com>
	<f84c6da0-0701-a432-ca7a-fa2f71c3c7c0@commandprompt.com>
	<45526839-10a0-a22e-bde3-6d0a01eeb509@pgmasters.net>
	<5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com>

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.   *****





view thread (22+ messages)  latest in thread

Message-ID: <2454adca-c4b6-39c7-80f0-a435404b0209@commandprompt.com>
Permalink:  ../2454adca-c4b6-39c7-80f0-a435404b0209@commandprompt.com/
Also on:    postgresql.org/message-id/2454adca-c4b6-39c7-80f0-a435404b0209@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jd@commandprompt.com, ronljohnsonjr@gmail.com
  Subject: Re: Barman versus pgBackRest
  In-Reply-To: <2454adca-c4b6-39c7-80f0-a435404b0209@commandprompt.com>
  References: <CAN_ctnjgQcxqRZ+ENP61Q1BPbdN+gV0BbRiQEUgrny5rcgHQ-w@mail.gmail.com> <0eb45bab-8ff7-7255-f052-951edd09b804@gmail.com> <CAN_ctniZTZ3dWhORDDHOWBCcLTr2fgO36+JgQqAZwzC79ZQp+A@mail.gmail.com> <082d0d98-2dcd-8c4b-31b6-3ca47b4159b3@gmail.com> <CAN_ctngN1CmNzW0nC+me-z_srgMhfVr4S0Q7+3Y2dSzQf7ZH=w@mail.gmail.com> <5d1e08a4-e7c9-0d32-7d01-5b1c76cc67ef@gmail.com> <9c69ec56-d094-e4e7-d7ab-f2ae6652604a@commandprompt.com> <2524d3b7-5e77-f4c8-2c60-364715a74d93@gmail.com> <f84c6da0-0701-a432-ca7a-fa2f71c3c7c0@commandprompt.com> <45526839-10a0-a22e-bde3-6d0a01eeb509@pgmasters.net> <5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com> <2454adca-c4b6-39c7-80f0-a435404b0209@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox