From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | tomtailor(at)freesurf(dot)fr |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Resore PG-Data from Files after crash |
Date: | 2005-08-26 15:06:41 |
Message-ID: | 20050826150637.GC4848@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Aug 25, 2005 at 08:56:40AM -0700, tomtailor(at)freesurf(dot)fr wrote:
> Hi!
>
> I've the following Problem and hope someone can help me. My PostgreSQL
> Database were running on a Debian Linux. Some day the OS crahsed and -
> here's the Problem - there is no dump file from Database. But I still
> have the files in base, global, pg_clog. So I did a fresh setup and
> copied the files in the pg data directory. But even I try to start via
> pg_ctl fails caus:
Looks like you're missing at least pg_xlog (which resetxlog might fix
for you) and PGVERSION (which is just a tag file).
I recommand running initdb on an empty directory and copy the stuff you
do have over the top and see if that works...
Keep a backup though...
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-08-26 15:18:51 | Re: postgres optimizer |
Previous Message | Ben Trewern | 2005-08-26 14:57:58 | Problems Reinstalling PostgreSQL on XP |