Re: Deleting old archived WAL files - Mailing list pgsql-admin

From Simon Riggs
Subject Re: Deleting old archived WAL files
Date
Msg-id 1225401988.3971.440.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: Deleting old archived WAL files  (Chander Ganesan <chander@otg-nc.com>)
List pgsql-admin
On Thu, 2008-10-30 at 16:17 -0400, Chander Ganesan wrote:

> Why?  If you haven't saved a backup that you made previously (using
> pg_start_backup()), having archived wal files is useless.  I don't see
> why you just don't arbitrarily remove them immediately.
>
> WAL files are useful when you have a "starting point" (i.e., a backup
> made using the PITR backup method), and a set of WAL files generated
> "after" the starting point. If you don't preserve the start point
> (i.e., the PITR backup) then the WAL files are basically useless.

They are still better than nothing at all. I haven't read the whole
thread, but suggesting deleting things like that makes me go all
twitchy. :-). Do a couple of proper backups and then delete em.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


pgsql-admin by date:

Previous
From: Chander Ganesan
Date:
Subject: Re: Deleting old archived WAL files
Next
From: "pronix pronix"
Date:
Subject: how i can restrict databaseusers ?