Re: recovery from incomplete backup (pgsql 8.3)

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Henrik <lists(at)kirneh(dot)eu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: recovery from incomplete backup (pgsql 8.3)
Date: 2013-09-28 22:43:56
Message-ID: 52475BAC.5060101@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/28/2013 11:31 AM, Henrik wrote:
> hello,
>
> I am trying to recover data from postgesql 8.3 incomplete backup. I have
> contents of data/base/ (fs snapshot), but there some tablespaces
> (indexes, some tables) were in other locations.
>
> On new server (clean install) I created database, replaced base folder,
> renamed database folder to match new database's created name. Postgresql
> starts successfully, but it does not see tables in database, there are
> no related entries in logs.
>
> How could I recover data from available backup?

I would think to have any hope you would need the entire PGDATA
directory from the old installation:

http://www.postgresql.org/docs/8.3/static/storage-file-layout.html

Otherwise you are working with a mix of old and new information, in
particular old information in base and new information in global.

>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-09-29 00:54:19 Re: recovery from incomplete backup (pgsql 8.3)
Previous Message Edson Richter 2013-09-28 21:26:58 Re: PostgreSQL 9.2.4 temp files never released?