Re: Need help recovering

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Need help recovering
Дата
Msg-id 20050119204729.GK32192@dcc.uchile.cl
обсуждение исходный текст
Ответ на Need help recovering  (Michael Garriss <mgarriss@mac.com>)
Список pgsql-general
On Wed, Jan 19, 2005 at 07:39:29AM -0700, Michael Garriss wrote:
> We had a significant production outage with a box running 8.0 Beta 4,
> 140GB data, 190GB index.  We think it was a bad RAID controller card.
> Our transaction logs are gone but we have raw data.
>
> How can we recover this data?  Can the transaction logs be reset?  Can
> we safely set this zero_damaged_pages parameter?

What transaction logs?  Do you mean pg_clog, or pg_xlog?  If the former,
use your latest backup (i.e. forget it, unless you rarely rolled back
any transaction).  If the latter, try pg_resetxlog (you will likely lose
some things after the last checkpoint, and some indexes may not be in
correct shape).

What are the exact error messages you are getting?

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"The ability to monopolize a planet is insignificant
next to the power of the source"

В списке pgsql-general по дате отправления:

Предыдущее
От: Mark
Дата:
Сообщение: need an advice on running Database
Следующее
От: Chris
Дата:
Сообщение: Re: pg 8.0 on freebsd 5.3 install problem