From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "G(dot) J(dot) Walsh" <gjwalsh(at)dscdirectionalservices(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: recreating tables from global files |
Date: | 2008-05-22 13:39:26 |
Message-ID: | 29858.1211463566@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
"G. J. Walsh" <gjwalsh(at)dscdirectionalservices(dot)com> writes:
> I suffered a major server crash.
> Everything is fully reinstalled now EXCEPT postgresql8.3
> There was no way I could see to get postgres running except by
> removing /var/lib/pgsql/data. That was, I assumed, okay, because I have
> a full backup of all the files.
> So ... I reinstalled postgresql binaries following the same procedure as
> for the initial installation. I then restored the data/global files, but
> postgresql, while finding the database, sees no tables whatever.
You need the *entire* data directory tree, not just /global.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | A B | 2008-05-22 14:16:25 | Re: get id of insert in plpgsql function |
Previous Message | Bruce Hyatt | 2008-05-22 13:36:36 | Re: recreating tables from global files |