Skip site navigation (1) Skip section navigation (2)

Re: WAL files backup

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: pedro noticioso <cucnews(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: WAL files backup
Date: 2007-02-16 03:10:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
pedro noticioso wrote:

> regresamos wal files a pg_xlog - COPY BACKED UP WAL

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                      
The PostgreSQL Company - Command Prompt, Inc.

In response to

pgsql-admin by date

Next:From: Tom LaneDate: 2007-02-16 03:12:49
Subject: Re: WAL files backup
Previous:From: pedro noticiosoDate: 2007-02-16 02:55:39
Subject: Re: WAL files backup

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group