From: Jim C. Nasby <jnasby@pervasive.com>
To: f.guidi@libero.it <f.guidi@libero.it>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: backup and wal files
Date: Thu, 15 Dec 2005 14:40:48 -0600
Message-ID: <20051215204048.GA40699@pervasive.com> (raw)
In-Reply-To: <IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it>
References: <IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it>
I haven't played with PITR, but I believe that if PostgreSQL doesn't get
the right return code from the archive_command it will keep the WAL
files around; maybe that's the problem.
On Wed, Dec 14, 2005 at 10:57:38AM +0100, f.guidi@libero.it wrote:
> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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: jnasby@pervasive.com, f.guidi@libero.it
Subject: Re: backup and wal files
In-Reply-To: <20051215204048.GA40699@pervasive.com>
References: <IRHFO2$750AAB7343D67ACD2DBE3C72F501E54F@libero.it> <20051215204048.GA40699@pervasive.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