| От | Doug McNaught |
|---|---|
| Тема | Re: Error trying to restore db with blobs |
| Дата | |
| Msg-id | m3vgd0p4b1.fsf@varsoon.denali.to обсуждение исходный текст |
| Ответ на | Error trying to restore db with blobs ("Evandro" <evandro@horizontenet.com.br>) |
| Список | pgsql-general |
"Evandro" <evandro@horizontenet.com.br> writes: > This is the command for dump I´m using: > pg_dump -Ft -b -o $DB | bzip2 > $ARQ > > This is the command for restore: > pg_restore -h $SRV -vOd $DB -u $BUNZIPARQ > > This error occurs both in 7.12 and 7.13 I didn´t tested in 7.2 > > I´m getting this error: > > Creating <Init> Max OID > Archiver(db): Could not execute query. No result from backend. I just ran into something like this. Make sure you create the database you're going to restore into with template0 as the template, eg: $ createdb -T template0 $DB $ pg_restore <...> That fixed it for me. -Doug -- Let us cross over the river, and rest under the shade of the trees. --T. J. Jackson, 1863
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера