Re: Problems starting the database

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gborges(at)radiumsystems(dot)com(dot)br
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problems starting the database
Date: 2003-03-12 22:46:31
Message-ID: 29987.1047509191@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

gborges(at)radiumsystems(dot)com(dot)br writes:
> A kernel panic ocurred with my machine.

> So, I have to recover my postgresql data directory. I copy the data directory to a new instalation (same version that I used before).

Did you forget to copy pg_xlog/ ? Or did the kernel crash lose those files?

> There is some way to ignore this problem and start the postgres? I only want to start the database to do a pg_dump.

You can run pg_resetxlog, but you'll need to manually inspect your
dumped data to see if you have any partially-committed recent
transactions.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-03-12 22:48:56 Re: I cannot get the db to initialize. Please help.
Previous Message Robert Treat 2003-03-12 22:44:12 Re: Help with determining a database's size