Re: Archive_clean

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Sonam Sharma <sonams1209(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Archive_clean
Date: 2019-10-04 08:47:49
Message-ID: 81d45723c910ab49a6e0388c642770801e5e516c.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2019-10-04 at 13:34 +0530, Sonam Sharma wrote:
> I have enabled the archiving and the archive path is getting filled
> frequently. can I delete the logs from archive path after taking
> backup ?

Sure, just make sure you delete nothing that is still needed to recover
from the backup.

pg_archivecleanup <directory> <*.backup file>

can make the task simpler.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2019-10-04 08:59:05 Re: BitmapAnd on correlated column?
Previous Message Sonam Sharma 2019-10-04 08:04:03 Archive_clean