Re: Backups and restores.

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: Backups and restores.
Дата
Msg-id Pine.LNX.4.33.0306100907300.13190-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Backups and restores.  (Brian Avis <brian.avis@searhc.org>)
Список pgsql-general
On Fri, 6 Jun 2003, Brian Avis wrote:

>
> I am upgrading my workstation to 7.3.3.   I have some database backups
> that were created with this command.
>
> /usr/local/pgsql/bin/pg_dump $db | gzip > /usr/local/pgsql/backups/$filename
>
> Which generates this sort of file.
>
> pgdump_2003-6-5-csp.gz
> When I try to use pg_restore from 7.3.3 to restore that file with this
> command.
> ./bin/pg_restore -d csp pgdump_2003-6-5-csp
> Or even this one.
> ./bin/pg_restore -d csp pgdump_2003-6-5-csp.gz
>
> I get this error.
>
> pg_restore: [archiver] input file does not appear to be a valid archive

Are you un gzipping the file before feeding it to pg_restore?


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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: [HACKERS] SAP and MySQL ... [and Benchmark]
Следующее
От:
Дата:
Сообщение: Dependency tracking while dropping a database.