Re: restoring a dump - Mailing list pgsql-sql

From Phuong Ma
Subject Re: restoring a dump
Date
Msg-id 3B3BBE9F.48D125F5@commandprompt.com
Whole thread Raw
In response to Re: restoring a dump  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: restoring a dump
List 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 by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Still stuck on a left join
Next
From: Wei Weng
Date:
Subject: Re: restoring a dump