Re: wal archiving question

From: akp geek <akpgeek(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: wal archiving question
Date: 2012-12-05 21:29:29
Message-ID: CACnhOfLn+UL+gPJ11mrbF0yJ3ZKVjxNuYQ145uQ+t0-d+28mSA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> akp geek <akpgeek(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-12-05 21:45:43 Re: wal archiving question
Previous Message Tom Lane 2012-12-05 21:25:48 Re: wal archiving question