From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: pg-8.4: is it possible to recover not dumped data? |
Date: | 2012-11-09 01:59:02 |
Message-ID: | 1352426342.31259.31.camel@sussancws0025 |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Thu, 2012-11-08 at 17:26 +0100, Ennio-Sr wrote:
> [Using pg-8.4 under Gnu/Linux-Squeeze]
>
> Hi all!
> I have stupidly deleted postgresql-common, postgresql-client and
> postgresql-client-common (they where shown as version 9.1 while I was
> running pg 8-4 driving me to this error).
> After realizing (on reboot) I could not connect to my db I installed the
> 8.4 version of the 3 deleted pckgs and, after su-ing to postgres,
> re-created the 'user'.
>
> Now I can see the data directory (/var/lib/postgresql/8.4/main) is still
> populated (I presume with all my data) but I am unable to access them.
> Although I have a copy on my laptop (lacking only minor updatings) I
> would like to know if there is any possibility to recover my data on PC.
>
> if yes, would you please suggest a solution or some chapter to read?
What error message are you getting? Are you able to start the server?
What is in /var/lib/postgresql/8.4/main/PG_VERSION? Do you still have
that version of postgres installed?
Who is the owner of /var/lib/postgresql/8.4/main and its contents? Does
that unix user still exist?
Regards,
Jeff Davis
From | Date | Subject | |
---|---|---|---|
Next Message | Ennio-Sr | 2012-11-09 15:34:39 | Re: pg-8.4: is it possible to recover not dumped data? |
Previous Message | Sauer Annegret | 2012-11-08 16:30:29 | Re: How to find out about user rights |