Re: Archive cleanup

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com>, Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Archive cleanup
Date: 2023-08-07 14:28:39
Message-ID: ZND/l7xnBsxdJfwp@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Greetings,

* Jeff Janes (jeff(dot)janes(at)gmail(dot)com) wrote:
> On Fri, Aug 4, 2023 at 5:04 AM Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)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(dot)dba09(at)gmail(dot)com) wrote:
> Archive is must for point in time recovery right?

Yes.

* Ron (ronljohnsonjr(at)gmail(dot)com) wrote:
> Use PgBackRest, and make your life a *lot* easier.

Agreed.

Thanks,

Stephen

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stephen Frost 2023-08-07 14:42:31 Re: Parallel WAL Archival Options
Previous Message sbob 2023-08-07 14:12:36 FDW or similar for DB2 / Mainframe?