From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Marc Cousin <mcousin@sigma.fr>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Online backups and WAL
Date: Mon, 18 Apr 2005 17:59:57 -0400 (EDT)
Message-ID: <200504182159.j3ILxvI25282@candle.pha.pa.us> (raw)
In-Reply-To: <200504151204.57408.mcousin@sigma.fr>
Marc Cousin wrote:
> Hi,
>
> I'm currently testing online backups, and I'm facing the problem of a missing
> WAL when I do the backup : the current WAL isn't archived when I save the
> archives, and is required to recover...
> I've read in the mailing list archives that it can be solved by copying the
> current WAL from pg_xlog. Even if this solution works, it looks to me to be
> more of a workaround than anything else, and adds some complexity to an
> operation that is allready not that simple.
> I'd like to know if there is a way to force the switch from a WAL to the next
> one, like with an 'alter system archive log current' in Oracle.
No, there is no way to force a switch. It is on our TODO list as
something to fix for 8.1.
The development version of the docs make it much clearer:
http://candle.pha.pa.us/main/writings/pgsql/sgml/backup-online.html
This documentation update will be in 8.0.X. Sorry the system is
currently confusing.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, mcousin@sigma.fr
Subject: Re: Online backups and WAL
In-Reply-To: <200504182159.j3ILxvI25282@candle.pha.pa.us>
References: <200504151204.57408.mcousin@sigma.fr> <200504182159.j3ILxvI25282@candle.pha.pa.us>
* 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