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

Restoring postgres from data directory.

From: Stef <svb(at)ucs(dot)co(dot)za>
To: pgsql-admin(at)postgresql(dot)org
Subject: Restoring postgres from data directory.
Date: 2007-04-10 08:49:49
Message-ID: 20070410104949.148fdadf@svb.ucs.co.za (view raw or flat)
Thread:
Lists: pgsql-admin
Hi all,

I've got a postgres 7.3.4 database. and somehow the pg_control file got corrupted
when the machine ran  out of space, and someone ran pg_resetxlog -f.
So basically the database starts up, but I can only see template1 and template0.

Is there a way to link in the data that is in the "base" directory so that postgres sees
that database again?

Kind Regards
Stefan
-- 
Confidentiality Notice: http://ucs.co.za/conf.html

pgsql-admin by date

Next:From: Peter ElmersDate: 2007-04-10 11:59:26
Subject: Re: Problems with precompiled pgsql on mac
Previous:From: Randall SmithDate: 2007-04-09 20:41:17
Subject: Re: HP support for Etch

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