From: Stephen Frost <sfrost@snowman.net>
To: Jeff Janes <jeff.janes@gmail.com>
To: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Archive cleanup
Date: Mon, 7 Aug 2023 10:28:39 -0400
Message-ID: <ZND/l7xnBsxdJfwp@tamriel.snowman.net> (raw)
In-Reply-To: <11b4adf7-9b46-a3b5-e18f-2cc38adc6116@gmail.com> <CAJk5AtZTXYEWfs-Pp29rCjWawZfurm9=1QSsj24SktuNiu9r-g@mail.gmail.com> <CAMkU=1wj6bujF3JEh4tYjZ7aavwah_4mkckJyn8FcmV04w=wVA@mail.gmail.com>
Greetings,
* Jeff Janes (jeff.janes@gmail.com) wrote:
> On Fri, Aug 4, 2023 at 5:04 AM Rajesh Kumar <rajeshkumar.dba09@gmail.com>
> wrote:
> > Anybody let me know how to automate the archive clean up in postgres.
>
> If the only reason you have an archive is so a standby can get the WAL,
> then you can just use a slot instead. If you don't have an archive, you
> don't need to clean it up.
No, archives are critical for online backups and PITR, not just so that
you can make sure the standby is able to catch up (but that's a very
nice additional bit that archives provide).
* Rajesh Kumar (rajeshkumar.dba09@gmail.com) wrote:
> Archive is must for point in time recovery right?
Yes.
* Ron (ronljohnsonjr@gmail.com) wrote:
> Use PgBackRest, and make your life a *lot* easier.
Agreed.
Thanks,
Stephen
Attachments:
[application/pgp-signature] signature.asc (832B, ../ZND%2Fl7xnBsxdJfwp@tamriel.snowman.net/2-signature.asc)
download
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: sfrost@snowman.net, jeff.janes@gmail.com, rajeshkumar.dba09@gmail.com, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Archive cleanup
In-Reply-To: <ZND/l7xnBsxdJfwp@tamriel.snowman.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