Re: Restore database from files (not dump files)?

From: "John D(dot) Burger" <john(at)mitre(dot)org>
To: wheel <wheel(at)wheel(dot)not>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Restore database from files (not dump files)?
Date: 2006-12-04 15:46:52
Message-ID: 74A84126-07CC-458C-B4FD-ECD2431831D8@mitre.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> I have copied the folders back to the base dir (like C:\PostgreSQL
>> \data
>> \base\16404) if that's step one but what after that?
>
> Just start Postgres. If the data dir is ok, it should run fine.

It's unclear from your description whether the raw DB files were
moved from another installation - note that the above is only
guaranteed to work if architecture/compiler/etc. are all the same.
If the files were created by exactly the same PG instance, then you
should be okay.

- John D. Burger
MITRE

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2006-12-04 15:47:37 Re: pgsql bug found?
Previous Message Martijn van Oosterhout 2006-12-04 15:45:07 Re: pgsql bug found?