Archive cleanup
Archive cleanup
От:
pgdba pgdba <postgresdba12@outlook.com>
Дата:
Hi,
My wal is copy in archive directory but archive directory always used more disk how to Automaticly cleanup my archive directory for oldest backup file
Ex:
pg_archivecleanup -d /home/transaction/inst5/transactionlog 000000010000000F00000026.backup
Thanks
Re: Archive cleanup
От:
Jeff Janes <jeff.janes@gmail.com>
Дата:
On Sun, Jul 4, 2021 at 3:37 PM pgdba pgdba <postgresdba12@outlook.com> wrote:
Hi,My wal is copy in archive directory but archive directory always used more disk how to Automaticly cleanup my archive directory for oldest backup fileEx:pg_archivecleanup -d /home/transaction/inst5/transactionlog 000000010000000F00000026.backup
Whatever deletes your .backup file such that a different one becomes the oldest one should handle that. What is it that does that?
Cheers,
Jeff