pg DATA folder restoration

Поиск
Список
Период
Сортировка
Искать

pg DATA folder restoration

От:
Gera Mel Handumon <geramel.h@gmail.com>
Дата:
Hello,

My pc crash, all i can do is get the DATA folder of postgresql.
What is the proper restoration procedure of DATA folder to newly
installed postgresql server (MSwindows).

TIA

-- 
Gera Mel E. Handumon
-----------------------------------------------------------------
"Share your knowledge. It's a way to achieve immortality" - Dalai Lama

Re: pg DATA folder restoration

От:
Scott Marlowe <scott.marlowe@gmail.com>
Дата:
On Mon, Dec 7, 2009 at 8:59 PM, Gera Mel Handumon  wrote:
> Hello,
>
> My pc crash, all i can do is get the DATA folder of postgresql.
> What is the proper restoration procedure of DATA folder to newly
> installed postgresql server (MSwindows).

Install pgsql, move data dir out of way, put old one in place, pray,
sacrifice chickens, start pgsql and see what happens.

Note that the praying and chicken sacrifice are optional...

Re: pg DATA folder restoration

От:
Scott Marlowe <scott.marlowe@gmail.com>
Дата:
On Mon, Dec 7, 2009 at 9:09 PM, Scott Marlowe  wrote:
> On Mon, Dec 7, 2009 at 8:59 PM, Gera Mel Handumon  wrote:
>> Hello,
>>
>> My pc crash, all i can do is get the DATA folder of postgresql.
>> What is the proper restoration procedure of DATA folder to newly
>> installed postgresql server (MSwindows).
>
> Install pgsql, move data dir out of way, put old one in place, pray,
> sacrifice chickens, start pgsql and see what happens.

Oh between install pg and move data dir you need to shut down the
pgsql service if it's up and running already.
FAQ