| От | Tom Lane |
|---|---|
| Тема | Re: make us of old database. |
| Дата | |
| Msg-id | 5372.960420914@sss.pgh.pa.us обсуждение |
| Ответ на | make us of old database. (Marcos Lloret <marcos@second.ival.es>) |
| Список | pgsql-general |
Marcos Lloret <marcos@second.ival.es> writes:
> i want to make us of an old recovered database from a dead hard
> disk. i just copied the directory
> /usr/local/pgsl/data/base/[database-name]
> i install postgres 6..4 (as before) and i created a new database
> directory and copied all the database.
That's not going to work, at least not that way. You need to have a
pg_log file that has the same set of transaction commit and abort
records that were in your old database. Basically, you can transfer an
*entire* pgsql/data tree by copying it, but you don't get to pick and
choose parts.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера