pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: Retore Postgres DB without dump
Date: Fri, 11 Apr 2008 12:40:16 -0400
Message-ID: <20080411164016.GA28760@crankycanuck.ca> (raw)
In-Reply-To: <47FF722D.20705@adm.unige.ch>
References: <47FF722D.20705@adm.unige.ch>

On Fri, Apr 11, 2008 at 04:14:05PM +0200, Baudrion Philippe wrote:
> - So, I have build and installed a 7.4 version of Postgres
> - Copy the files in an empty database
> - Connection was ok, but "\dt" told me "no relations found".
> 
> What can I try next ?
> I also have the original "pg_clog" and "pg_xlog" directories, and I have 
> also tried to replace them. What can I do with the WAL segments ?

If you didn't put everything back in the same place, you won't get a data
area.  Just start up the 7.4 back end against the entire data tree of the
old 7.4 installation.

a




view thread (4+ messages)  latest in thread

Message-ID: <20080411164016.GA28760@crankycanuck.ca>
Permalink:  ../20080411164016.GA28760@crankycanuck.ca/
Also on:    postgresql.org/message-id/20080411164016.GA28760@crankycanuck.ca

 · 

reply

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: ajs@crankycanuck.ca
  Subject: Re: Retore Postgres DB without dump
  In-Reply-To: <20080411164016.GA28760@crankycanuck.ca>

* 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