pg_xlog/archive_status clean up

From: Ramiro Barreca <rbarreca(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: pg_xlog/archive_status clean up
Date: 2018-01-09 11:28:14
Message-ID: CAO4Rs2neXFp_4nAJF5giR3dNWh8yncrgY19wVcq=hN4ZxAq15Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

At this moment I can see there are over 1.3 million "*.done" files
at pg_xlog/archive_status folder.
The first ones are there since 2013.
As you may suppose this server has been rebooted several times since then.
And daily backups are generated.
Is it safe to remove the old ones manually without exposing data lost?
What about to hold only last month ones?
I think so but it would be better to have your approval.

Ramiro Barreca
rbarreca(at)gmail(dot)com

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shreeyansh Dba 2018-01-09 11:48:50 Re: pg_xlog/archive_status clean up
Previous Message flumbador 2018-01-08 13:53:20 Re: Issue on restore / recover