Re: pg_restore: [archiver] input file does not appear to be a valid archive

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore: [archiver] input file does not appear to be a valid archive
Дата
Msg-id 3379.1095258158@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_restore: [archiver] input file does not appear to be a valid archive  (<ogjunk-pgjedan@yahoo.com>)
Список pgsql-admin
<ogjunk-pgjedan@yahoo.com> writes:
> This is how I'm dumping my DB:

> # pg_dump -d mydb --clean --inserts --column-inserts --format=P -v -h
> localhost -p 5432 -U otis > dbdump

> # pg_restore -a -d myOtherDbName dbdump
> pg_restore: [archiver] input file does not appear to be a valid archive

Plain dump format is a script to feed to psql.  pg_restore is only for
the other two formats.

            regards, tom lane

В списке pgsql-admin по дате отправления: