Re: Archive_clean - Mailing list pgsql-general

From Laurenz Albe
Subject Re: Archive_clean
Date
Msg-id 81d45723c910ab49a6e0388c642770801e5e516c.camel@cybertec.at
Whole thread Raw
In response to Archive_clean  (Sonam Sharma <sonams1209@gmail.com>)
List 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




pgsql-general by date:

Previous
From: Sonam Sharma
Date:
Subject: Archive_clean
Next
From: Laurenz Albe
Date:
Subject: Re: BitmapAnd on correlated column?