Re: Can not restore a dumped database

Поиск
Список
Период
Сортировка
От Jeff Frost
Тема Re: Can not restore a dumped database
Дата
Msg-id Pine.LNX.4.64.0703082116300.11609@discord.home.frostconsultingllc.com
обсуждение исходный текст
Ответ на Can not restore a dumped database  (Josef Springer <Josef.Springer@joops.com>)
Список pgsql-admin
You only need to use pg_restore with archives that are not in the
plain-text sql format.  You can just do this:

psql -f <filename> -U OfficeTalk OfficeTalk

to restore.

On Mon, 5 Mar 2007, Josef Springer wrote:

> iI habe dumped a database with
> pg_dump --file="<filename>" -a --schema="OfficeTalk" -h localhost -U
> OfficeTalk "OfficeTalk"
>
> Restoring it with
> pg_restore -d "OfficeTalk" -a -h localhost -U "OfficeTalk" "<filename>"
>
> i get the error
> pg_restore: [archiver] input file does not appear to be a valid archive
>
> What to do ?
>
> mit freundlichen Gr��en / best regards,
> Josef Springer
> (Gesch�ftsleitung/Management)
>
> [Postal]
> Address
> Josef.Springer@joops.com
> Orlando-di-Lasso Str. 2
> D-85640 Putzbrunn
> [Phone]
>
> Office
> +49 (0)89 600 6920
>
>
> [Phone]
>
> Fax
> +49 (0)89 600 69220
>
>
> [Web]
>
> Web
> http://www.joops.com
>
>
>
> [JOOPS]
> -- the software company --
>
>
>
>

--
Jeff Frost, Owner     <jeff@frostconsultingllc.com>
Frost Consulting, LLC     http://www.frostconsultingllc.com/
Phone: 650-780-7908    FAX: 650-649-1954

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

Предыдущее
От: Josef Springer
Дата:
Сообщение: Can not restore a dumped database
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: Pg_dump and bytaA