| От | Tom Lane |
|---|---|
| Тема | Re: Lost pg_xlog pgclog |
| Дата | |
| Msg-id | 4837.1048689643@sss.pgh.pa.us обсуждение |
| Ответ на | Lost pg_xlog pgclog ("Philip Geer" <philg@gearcc.com>) |
| Список | pgsql-admin |
"Philip Geer" <philg@gearcc.com> writes:
> I had move my pgxlog and pgclog files to a drive of their own and that driv=
> e crashed with no chance of data recovery. This is not a production server =
> so its not that big of a deal but I would like to recover the databases tha=
> t the server had on it but ever time I start postmaster I get the following=
> error.=20
You could try running pg_resetxlog (see contrib if pre-7.3; in 7.3 it's
standard). That should let you start the database, but keep in mind
that any transactions completed shortly before the crash might be
missing or partially applied. Don't trust the data too much until
you've checked it. And definitely do a dump and reload...
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера