pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karl Denninger <karl@denninger.net>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Automate pg_basebackup in linux
Date: Sat, 5 Jun 2021 15:19:04 -0400
Message-ID: <f495eb77-dcbb-71f5-295b-9ec94e87e64f@denninger.net> (raw)
In-Reply-To: <CAECtzeUsnFB4svfVtgBogU+TNPW4Hmwrhc9a+Nb2b=PE6XqhYA@mail.gmail.com>
References: <CACvDJ+-83LwuC1bC2dJ9062Y3MMtMm0z0fNrnN_kwm7enPHMwg@mail.gmail.com>
	<CAM+6J94_J14rcEitGR+BED4agiQHqTcNuzE+OA+kSvFzsAtGkw@mail.gmail.com>
	<CAECtzeUsnFB4svfVtgBogU+TNPW4Hmwrhc9a+Nb2b=PE6XqhYA@mail.gmail.com>


On 6/5/2021 14:40, Guillaume Lelarge wrote:
> Le sam. 5 juin 2021 à 19:44, Vijaykumar Jain 
> <vijaykumarjain.github@gmail.com 
> <mailto:vijaykumarjain.github@gmail.com>> a écrit :
>
>     you should write your own scripts imho.
>
>
> Actually, you shouldn't write your own. You should use an existing 
> one, such as barman or pgbackrest.

pgbackrest is a lot more than just something that runs base backups.  
With that said I use and recommend it and its ability to do incremental 
copies as well as full backups, as well as being able to keep the copies 
either compressed (saves disk) or "ready to go" (can be started 
directly) is extremely useful, plus it can optimize transport as well.

-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

Attachments:

  smime.p7s (application/pkcs7-signature, 4.8K) download

view thread (7+ messages)  latest in thread

Message-ID: <f495eb77-dcbb-71f5-295b-9ec94e87e64f@denninger.net>
Permalink:  ../f495eb77-dcbb-71f5-295b-9ec94e87e64f@denninger.net/
Also on:    postgresql.org/message-id/f495eb77-dcbb-71f5-295b-9ec94e87e64f@denninger.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: karl@denninger.net, pgsql-admin@lists.postgresql.org
  Subject: Re: Automate pg_basebackup in linux
  In-Reply-To: <f495eb77-dcbb-71f5-295b-9ec94e87e64f@denninger.net>

* 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