Re: restoring a dump

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Phuong Ma <pma(at)commandprompt(dot)com>
Cc: pgsql sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: restoring a dump
Date: 2001-06-28 21:27:02
Message-ID: Pine.LNX.4.30.0106282326370.724-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Phuong Ma 2001-06-28 23:32:47 Re: restoring a dump
Previous Message Jeremy Buchmann 2001-06-28 20:24:12 Re: timeout

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2001-06-28 22:39:16 Re: Still stuck on a left join
Previous Message Jeremy Buchmann 2001-06-28 20:24:12 Re: timeout