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: WAL Archiving and base backup
Date: Fri, 14 Jan 2022 13:27:43 -0600
Message-ID: <cf0c1737-f362-f5d0-e763-e0dfee7bf723@gmail.com> (raw)
In-Reply-To: <20220114183144.GA10577@tamriel.snowman.net>
References: <164bc278-a4cd-f7cf-613b-e1c94aa63e56@usa.net>
	<CAKkG4_=gQ8dH9xvKpa9D1aV__-suEdt5HyW6fYW+dpVTHi9n8A@mail.gmail.com>
	<1d73a885-1c78-eec5-fbc6-fe5e0f621e5f@usa.net>
	<20220114183144.GA10577@tamriel.snowman.net>

On 1/14/22 12:31 PM, Stephen Frost wrote:
> Greetings,
>
> * Issa Gorissen (issa-gorissen@usa.net) wrote:
>> Thx a lot. I thought about it but was not so sure about having a complex
>> script (compared to the very simple version when using the exclusive backup
>> - but this this is deprecated...).
>>
>> I will test your option with the simpler version and post it back to it can
>> maybe land in PostgreSQL documentation.
> The PG docs show how the command works and that's it.  The commands
> in the docs aren't intended to be actually used in production
> environments.  Writing a full solution involves having a good
> understanding of the PG code and how WAL archiving, backups, et al, are
> done.  If you're not familiar with this portion of the PG code base, I'd
> strongly suggest you look at using solutions written and maintained by
> folks who are.

Needing to read the PG source code to write a workable PITR recovery 
solution is a serious flaw in PG documentation (and why I use PgBackRest).

The documentation of two other RDBMSs that I've worked with (Rdb/VMS and SQL 
Server) are perfectly clear on how to do such backups and restores with 
relatively small amounts of scripting.

> Trying to write documentation on how to develop a complete solution
> would be quite an effort and would certainly go beyond bash scripting
> and likely wouldn't end up getting used anyway- those who are developing
> such solutions are already reading through the actual code.
>
> Thanks,
>
> Stephen

-- 
Angular momentum makes the world go 'round.





view thread (21+ messages)  latest in thread

Message-ID: <cf0c1737-f362-f5d0-e763-e0dfee7bf723@gmail.com>
Permalink:  ../cf0c1737-f362-f5d0-e763-e0dfee7bf723@gmail.com/
Also on:    postgresql.org/message-id/cf0c1737-f362-f5d0-e763-e0dfee7bf723@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: WAL Archiving and base backup
  In-Reply-To: <cf0c1737-f362-f5d0-e763-e0dfee7bf723@gmail.com>
  References: <164bc278-a4cd-f7cf-613b-e1c94aa63e56@usa.net> <CAKkG4_=gQ8dH9xvKpa9D1aV__-suEdt5HyW6fYW+dpVTHi9n8A@mail.gmail.com> <1d73a885-1c78-eec5-fbc6-fe5e0f621e5f@usa.net> <20220114183144.GA10577@tamriel.snowman.net> <cf0c1737-f362-f5d0-e763-e0dfee7bf723@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