Re: Can't import databases with pg_dump. Why?

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: nightnavigator(at)libero(dot)it
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can't import databases with pg_dump. Why?
Date: 2002-11-02 15:09:28
Message-ID: m3adks57pz.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Antonio G. - Geotronix" <nightnavigator(at)libero(dot)it> writes:

> Hi.
>
> I'm trying to import some databases I had on redhat 7.2 (think it had
> postgressql-7.1.x series but not sure) to my new Debian woody
> installation (postgresql 7.2.1-2woody2). I created a database called
> 'famiglia' under the postgres user. Then, always by postgres user i did:
>
> gaia:/etc/postgresql$ pg_dump famiglia < /mnt/redhat/home/postgres_postgres \
> /famiglia.dump

Ummm.... You don't use pg_dump to restore.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-11-02 15:14:20 Re: [GENERAL] What user to defaults execute as?
Previous Message Tom Lane 2002-11-02 15:06:35 Re: move 0 behaviour