Archive_clean

Поиск
Список
Период
Сортировка
Искать

Archive_clean

От:
Sonam Sharma <sonams1209@gmail.com>
Дата:
I have enabled the archiving and the archive path is getting filled frequently. can I delete the logs from archive path after taking backup ? 

Re: Archive_clean

От:
Laurenz Albe <laurenz.albe@cybertec.at>
Дата:
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  <*.backup file>

can make the task simpler.

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



FAQ