pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Barman disaster recovery solution
Date: Wed, 27 Feb 2019 16:48:37 +0200
Message-ID: <13f3644c-adef-9fcc-09c9-cd14dce60656@matrix.gatewaynet.com> (raw)
In-Reply-To: <945fc3cf-a9dd-c594-4fb5-33e497a10190@pgmasters.net>
References: <1ttgfmod96uhh1ju7mk0f7v6.1551268542036@email.lge.com>
	<fe40db5d-0251-802b-4db7-310fd980d401@matrix.gatewaynet.com>
	<945fc3cf-a9dd-c594-4fb5-33e497a10190@pgmasters.net>

On 27/2/19 4:16 μ.μ., David Steele wrote:
> On 2/27/19 2:31 PM, Achilleas Mantzios wrote:
>> On 27/2/19 1:58 μ.μ., richter@simkorp.com.br wrote:
>>> Just to notice, I d o use backup from standby and WAL archive from standby. It is possible. But you have to configure standby with option of wal archive "always".
>>
>> I guess there are issues with it. If this was so easy then pgbarman and pgbackrest would support it out of the box.
>
> There are a few issues with it:
>
> 1) If you allow the primary and standby to archive to the same repository then there needs to be some conflict resolution if they write at the same time.  If they write to different repositories 
> then you need to decided which one to use for a restore, or have some kind of conflict resolution between them.  It gets complicated.
>
> 2) Writing only from the standby reduces load on the primary but if the connection to the primary is down then you can get behind on archiving. If something then happens to the primary then your 
> recovery point will be limited.

David to quote an older email from you:
"pgBackRest currently requires some files and all WAL to be sent from the primary even when doing backup from standby.  We may improve this in the future but it's not on the road map right now. "
So, I had the impression that receiving WALs from the standby was a greater technical problem.

>
> Regards,


-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt





view thread (19+ messages)  latest in thread

Message-ID: <13f3644c-adef-9fcc-09c9-cd14dce60656@matrix.gatewaynet.com>
Permalink:  ../13f3644c-adef-9fcc-09c9-cd14dce60656@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/13f3644c-adef-9fcc-09c9-cd14dce60656@matrix.gatewaynet.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: achill@matrix.gatewaynet.com
  Subject: Re: Barman disaster recovery solution
  In-Reply-To: <13f3644c-adef-9fcc-09c9-cd14dce60656@matrix.gatewaynet.com>
  References: <1ttgfmod96uhh1ju7mk0f7v6.1551268542036@email.lge.com> <fe40db5d-0251-802b-4db7-310fd980d401@matrix.gatewaynet.com> <945fc3cf-a9dd-c594-4fb5-33e497a10190@pgmasters.net> <13f3644c-adef-9fcc-09c9-cd14dce60656@matrix.gatewaynet.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