From: John Scalia <jayknowsunix@gmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: When is it safe to remove backup files from a wal archiving directory
Date: Mon, 22 Sep 2014 10:44:55 -0400
Message-ID: <542035E7.5080207@gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Hi all,
I've noticed that my standby servers never bother to delete a wal backup file from the archiving directory. In fact, they never even try to copy it out of the directory, and after
a while, I may see over a dozen files like:
000000040000000A000000F9.backup
000000040000000C00000003.backup
etc.
The youngest of these files is from last Friday afternoon, and these rest go back over 6 weeks. Being this is a streaming replication standby, I probably don't need them at all,
but I've been keeping them as insurance policies. Question is how many, if any, do I need to keep?
--
Jay
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: jayknowsunix@gmail.com
Subject: Re: When is it safe to remove backup files from a wal archiving directory
In-Reply-To: <542035E7.5080207@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox