Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Imre Oolberg" <imre(at)auul(dot)pri(dot)ee>,"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Scott Ribe" <scott_ribe(at)elevated-dev(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal
Date: 2011-01-03 20:37:56
Message-ID: 4D21DF440200002500038F6B@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Imre Oolberg <imre(at)auul(dot)pri(dot)ee> wrote:

> I am starting to think more in the direction what Kevin Grittner
> suggested that i miss something in my procedure and instead
> following so to say recovery path i am doing something else which
> strangely ends up with working database process but actually
> misses some data.

Did you keep the pg_xlog/archive_status directory and its *.backup
files?

It sounds like maybe it's not finding the recovery.conf file. Are
the permissions right? Do you have spaces or other special
characters in the directory path to your cluster data directory? (I
notice you didn't use quoting around the path.)

Did you delete (or avoid copying) the postmaster.pid file?

Making sure to start with an empty log file and/or directory
(depending on how you log), what shows up in the log on your
recovery attempt?

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Imre Oolberg 2011-01-03 21:06:09 Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal
Previous Message Tom Lane 2011-01-03 20:24:26 Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal