| От | Doug McNaught |
|---|---|
| Тема | Re: pg_restore valid archive |
| Дата | |
| Msg-id | m3g03u8vka.fsf@varsoon.denali.to обсуждение |
| Ответ на | pg_restore valid archive (eel@javabox.com (Eel)) |
| Список | pgsql-general |
eel@javabox.com (Eel) writes: > Hi, > I'm trying to upgrade to 7.2 from 7.0. I first tried pg_dump from > 7.0 and then pg_restore. It gave me "input file does not appear to be > a valid archive". I did a bit of research and found that versions of > pg_dump/restore are incompatible, so I pg_dumped it from the 7.2 > pg_dump. It still gives me the same error. What do I need for a > valid archive? I'm doing something like: If you're dumping in straight SQL format (the default), just use 'psql' to do the restore: $ psql -f <dumpfile> <dbname> -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 через параметры вашего браузера