Re: restoring a dump

Поиск
Список
Период
Сортировка
От Phuong Ma
Тема Re: restoring a dump
Дата
Msg-id 3B3BBE9F.48D125F5@commandprompt.com
обсуждение исходный текст
Ответ на Re: restoring a dump  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: restoring a dump  (Wei Weng <wweng@kencast.com>)
Список pgsql-sql
Peter Eisentraut wrote:
> 
> Phuong Ma writes:
> 
> > pg_dump -C -D -F t > test.tar
> > tar -xvf test.tar
> > psql restore.sql
> > psql test < 19.dat
> > psql test < 20.dat .. and so on
> > psql test < toc.dat
> 
> I believe you're supposed to use pg_restore on the tar file itself.
> 
> --
> Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

I tried using pg_restore, but it did not restore the dump successfully. 
Maybe it is the syntax I'm using, but I remember reading that you cannot
use the pg_restore to restore a dump that uses INSERT.  Does anyone know
of a way I could undump my db?


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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Still stuck on a left join
Следующее
От: Wei Weng
Дата:
Сообщение: Re: restoring a dump