| От | Doug McNaught |
|---|---|
| Тема | Re: Upgrade Problem: 7.4.3 -> 8.1.2 |
| Дата | |
| Msg-id | 877j8vsum2.fsf@asmodeus.mcnaught.org обсуждение исходный текст |
| Ответ на | Re: Upgrade Problem: 7.4.3 -> 8.1.2 (Rich Shepard <rshepard@appl-ecosys.com>) |
| Ответы |
Re: Upgrade Problem: 7.4.3 -> 8.1.2
|
| Список | pgsql-general |
Rich Shepard <rshepard@appl-ecosys.com> writes: > Using the 8.1.2 pg_dumpall from the 2004 data directory produces a 819K > file. But, when I then cd to the new data directory and run: > > postgres@salmo:/var/lib/pgsql/data$ pg_restore /var/tmp/backup.sql > pg_restore: [archiver] input file does not appear to be a valid archive > > However, the file is readable and looks to have all the databases and tables > in it. Perhaps I'm closer now? Yes, as I said before, 'pg_dumpall' only produces SQL format dumps, which you restore using 'psql'. 'pg_restore' is only for binary dumps. -Doug
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера