| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: Resore PG-Data from Files after crash |
| Дата | |
| Msg-id | 20050826150637.GC4848@svana.org обсуждение |
| Ответ на | Resore PG-Data from Files after crash (tomtailor@freesurf.fr) |
| Список | pgsql-general |
On Thu, Aug 25, 2005 at 08:56:40AM -0700, tomtailor@freesurf.fr wrote: > Hi! > > I've the following Problem and hope someone can help me. My PostgreSQL > Database were running on a Debian Linux. Some day the OS crahsed and - > here's the Problem - there is no dump file from Database. But I still > have the files in base, global, pg_clog. So I did a fresh setup and > copied the files in the pg data directory. But even I try to start via > pg_ctl fails caus: Looks like you're missing at least pg_xlog (which resetxlog might fix for you) and PGVERSION (which is just a tag file). I recommand running initdb on an empty directory and copy the stuff you do have over the top and see if that works... Keep a backup though... -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера