Re: wal archiving question - Mailing list pgsql-general

From akp geek
Subject Re: wal archiving question
Date
Msg-id CACnhOfLn+UL+gPJ11mrbF0yJ3ZKVjxNuYQ145uQ+t0-d+28mSA@mail.gmail.com
Whole thread Raw
In response to Re: wal archiving question  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: wal archiving question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
thank you all. There is a mistake I did then. I created a base backup when I started the DB , that was exactly an year ago. I need to do that again and then delete the old files.

Regards



On Wed, Dec 5, 2012 at 4:25 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
akp geek <akpgeek@gmail.com> writes:
>  WAL archives is growing, not the files  in pg_xlog.

You need to prune the archives of files that are too old to be
interesting.  This doesn't happen automatically since PG has no
idea what your archiving requirements are.

Be sure to keep WAL files at least back to the start of your
last base backup.  Some people like to keep them back to the
next-to-last base backup.

                        regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: wal archiving question
Next
From: Tom Lane
Date:
Subject: Re: wal archiving question