pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedOnline backups and WAL
2+ messages / 2 participants
[nested] [flat]
* Online backups and WAL
@ 2005-04-15 10:04 Marc Cousin <mcousin@sigma.fr>
2005-04-18 21:59 ` Re: Online backups and WAL Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Marc Cousin @ 2005-04-15 10:04 UTC (permalink / raw)
To: pgsql-admin
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.
Cheers.
Marc Cousin
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Online backups and WAL
2005-04-15 10:04 Online backups and WAL Marc Cousin <mcousin@sigma.fr>
@ 2005-04-18 21:59 ` Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2005-04-18 21:59 UTC (permalink / raw)
To: Marc Cousin <mcousin@sigma.fr>; +Cc: pgsql-admin
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-04-18 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-15 10:04 Online backups and WAL Marc Cousin <mcousin@sigma.fr>
2005-04-18 21:59 ` Bruce Momjian <pgman@candle.pha.pa.us>
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