Re: Archive cleanup

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: pgdba pgdba <postgresdba12(at)outlook(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Archive cleanup
Date: 2021-07-06 15:20:02
Message-ID: CAMkU=1x06A__Y2pG04Y9jzt1eG=Eu_QRfO-JDS5p=ep0D3FaHA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sun, Jul 4, 2021 at 3:37 PM pgdba pgdba <postgresdba12(at)outlook(dot)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 file
> Ex:
> 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

>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Vijaykumar Jain 2021-07-07 08:55:09 Re: Patroni configuration issue
Previous Message Vijaykumar Jain 2021-07-06 14:28:35 Re: WALWriteLock