Re: Restiring pg_dump text file

From: donghe(at)caltech(dot)edu
To: "Mike angelo" <angelocmp(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Restiring pg_dump text file
Date: 2009-07-01 03:26:48
Message-ID: 2097.131.215.15.78.1246418808.squirrel@webmail.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> I've backed up my DB via 'pg_dump dbname' using no options. In order to
> restore it via psql, do I first need to drop the db instance and recreate
> it?
>
> Thanks in advance for your help.
>
> -Mike
>
>
>
yes, you have to drop the original db, then use psql -f to restore it.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Mead 2009-07-01 03:35:13 Re: Restiring pg_dump text file
Previous Message raghu ram 2009-07-01 02:15:33 Re: Restiring pg_dump text file