From: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
---|---|
To: | Magnus Hagander <mha(at)sollentuna(dot)net> |
Cc: | Judica?l Dehotin <dehotin(at)lyon(dot)cemagref(dot)fr>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: recovering windows database after crash |
Date: | 2005-11-15 19:53:31 |
Message-ID: | 20051115195331.GL44860@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Nov 15, 2005 at 07:24:02PM +0100, Magnus Hagander wrote:
> > Hello,
> >
> > I have postgresql 8.0 under windows, with pgadmin 3
> > Unfortunaly i have met a problem with postgresql which
> > obliged me to reinstall postgresql. The bad thing is i have
> > no backup of my database before the crash (shame on me !! ;-)) )
> >
> > So i wonder if it is possible, with the folder of
> > /postgreql/data/8.0/data/base which seem contain already the
> > directories of my database , to recover it ?
>
> Assuming yo uhave all the files, sure. Just run the installer again (make sure you use the same version you had before!!), set the data directory to the same you had before, and make sure th einstaller is set *not* to run initdb. It should pick it up automatically.
And to be safe make a backup of the entire directory
(/postgresql/data/8.0) if you can.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2005-11-15 19:57:38 | Re: Is it databases in general, SQL or Postgresql? |
Previous Message | Bob Pawley | 2005-11-15 19:49:54 | Re: Is it databases in general, SQL or Postgresql? |