Re: archive folder housekeeping

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
Cc: "ascot(dot)moss(at)gmail(dot)com" <ascot(dot)moss(at)gmail(dot)com>, PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: archive folder housekeeping
Date: 2013-08-09 13:11:28
Message-ID: CAB7nPqREGUnyRnPRUjJTifOwU+rmOwmNCmq4uFhHvTJugUMm8w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

On Fri, Aug 9, 2013 at 9:12 PM, Ian Lawrence Barwick <barwick(at)gmail(dot)com> wrote:
> 2013/8/9 ascot(dot)moss(at)gmail(dot)com <ascot(dot)moss(at)gmail(dot)com>:
>> Is there any PG manual command available to remove archived files by (archive) date/time?
>
> pg_archivecleanup might be of use to you:
>
> http://www.postgresql.org/docs/current/static/pgarchivecleanup.html
Yes, this is particularly useful and easy to maintain when enabled
with archive_cleanup_command in the recovery.conf file of a slave
fetching the archives.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Albe Laurenz 2013-08-09 13:55:25 Re: Recovery.conf and PITR by recovery_target_time
Previous Message ascot.moss@gmail.com 2013-08-09 13:07:59 Recovery.conf and PITR by recovery_target_time

Browse pgsql-general by date

  From Date Subject
Next Message Day, David 2013-08-09 13:54:09 plpgsql FOR LOOP CTE problem ?
Previous Message ascot.moss@gmail.com 2013-08-09 13:07:59 Recovery.conf and PITR by recovery_target_time