pg_dump/pg_restore

Поиск
Список
Период
Сортировка
От Alexey Bobkov
Тема pg_dump/pg_restore
Дата
Msg-id 400288CC.4050005@sunet.ru
обсуждение исходный текст
Ответы Re: pg_dump/pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pg_dump/pg_restore  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
Список pgsql-admin
PostgreSQL 7.3.2

I have been dumping my database with next options:
pg_dump -f /path_to_database/backup/db_backup.file -Z 9 database_name
and get db_backup.file file.

Then a try to restore my data:
pg_restore /path_to_database/backup/db_backup.file
and get next error
pg_restore: [archiver] input file does not appear to be a valid archive

I think it's because in pg_dump, I not set -F c option :(

How I can restore this broken file?

Thanks




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

Предыдущее
От: Russell Shaw
Дата:
Сообщение: Cluster in users home
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump/pg_restore