From: | Pandurangan R S <pandurangan(dot)r(dot)s(at)gmail(dot)com> |
---|---|
To: | "surabhi(dot)ahuja" <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: pg_dump, pg_restore |
Date: | 2006-02-06 05:48:36 |
Message-ID: | 5e744e3d0602052148t2859f700y2d0f668cd35c957c@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Did you check if your pg_restore was successful?
I think you need to include the following option while using pg_dump &
pg_restore
-C, --create include/issue commands to create database
On 2/6/06, surabhi.ahuja <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in> wrote:
> i am trying to do :
>
> pg_dump -f op.tar -F t database_name
>
> then i do
>
> dropdb database_name
>
> and then i do pg_restore op.tar
>
> and when i do psql database_name
>
> it says database does not exist.
>
> where am i going wrong?
>
> thanks,
> regards
> Surabhi
From | Date | Subject | |
---|---|---|---|
Next Message | indu ss | 2006-02-06 06:12:20 | Compile of Pgmail function fails |
Previous Message | Pandurangan R S | 2006-02-06 05:41:00 | Re: accidentally deleted rows |