pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: f\.guidi\@libero\.it <f.guidi@libero.it>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: backup and wal files
Date: Wed, 14 Dec 2005 10:57:38 +0100
Message-ID: <IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it> (raw)

Hello to all ...
I'm trying to install a backup system for my Postgresql 8.1.1 (on windows xp) using 3 wal files.

So i change these parameters in postgresql.conf
checkpoint_segments = 3
archive_command = 'copy "%p" "D:/PostgreSQL/backup/%f"'

I stop the database service and then restart it ...

Before restart i have 1 wal now i have 1 wal file ...

I start to generate data to populate wal files and postgres start to generate new wal files and copy them to the destination folder.

The problem is that files number don't stop to increase, now i have 10 wal files in pg_xlog and 9 files in backup folder ... 
why the backup files don't be deleted ?

thanks a lot in advance ...

Fabio




view thread (3+ messages)  latest in thread

Message-ID: <IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it>
Permalink:  ../IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it/
Also on:    postgresql.org/message-id/IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: f.guidi@libero.it
  Subject: Re: backup and wal files
  In-Reply-To: <IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it>
  References: <IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it>

* 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