Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n
В списке pgsql-general по дате отправления:
| От | Adrian Klaver |
|---|---|
| Тема | Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n |
| Дата | |
| Msg-id | 201011190915.43170.adrian.klaver@gmail.com обсуждение исходный текст |
| Ответ на | Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n
|
| Список | pgsql-general |
On Friday 19 November 2010 8:29:38 am Tom Lane wrote: > Andreas Laggner <andreas.laggner@vti.bund.de> writes: > > i cannot restore my data from 8.2 to 8.4 because i always get this error > > message, does anyone know what to do?? > > It sounds like you're trying to use pg_restore on a plain-text (SQL > script) dump file. Run it through psql, instead. > > regards, tom lane Out of curiosity what would trigger this? When I have tried to run a plain text file through pg_restore I get: aklaver@tucker:~$ pg_restore -d test -U postgres test.sql pg_restore: [archiver] input file does not appear to be a valid archive -- Adrian Klaver adrian.klaver@gmail.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера