From: Alvaro Herrera <alvherre@commandprompt.com>
To: pedro noticioso <cucnews@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: WAL files backup
Date: Fri, 16 Feb 2007 00:10:21 -0300
Message-ID: <20070216031021.GF4682@alvh.no-ip.org> (raw)
In-Reply-To: <945295.11491.qm@web55414.mail.re4.yahoo.com>
References: <20070215190304.40190.qmail@web55411.mail.re4.yahoo.com>
<945295.11491.qm@web55414.mail.re4.yahoo.com>
pedro noticioso wrote:
> regresamos wal files a pg_xlog - COPY BACKED UP WAL
> FILES BACK TO pg_xlog DIRECTORY
This step is wrong. You don't have to manually put the pg_xlog files in
the pg_xlog directory -- you have to let the recovery_command copy them
back from the archive area. Note that recovery.conf does not go into
the share/ directory, but in data/. And it must be present _only_ when
you want the system to attempt the recovery, not before.
Also I didn't see any pg_start_backup() nor pg_stop_backup() calls in
your procedure.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: alvherre@commandprompt.com, cucnews@yahoo.com
Subject: Re: WAL files backup
In-Reply-To: <20070216031021.GF4682@alvh.no-ip.org>
* 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