pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Barman versus pgBackRest
Date: Tue, 4 Sep 2018 10:55:15 -0500
Message-ID: <5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com> (raw)
In-Reply-To: <45526839-10a0-a22e-bde3-6d0a01eeb509@pgmasters.net>
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>

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.




view thread (22+ messages)  latest in thread

Message-ID: <5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com>
Permalink:  ../5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.com/
Also on:    postgresql.org/message-id/5dc5b1df-053a-3d61-e5e5-338de15d771e@gmail.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: ronljohnsonjr@gmail.com
  Subject: Re: Barman versus pgBackRest
  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>

* 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