From: | "Sandeep Gaikwad" <sgaikwad(at)vertex(dot)co(dot)in> |
---|---|
To: | Shaun Clements <ShaunC(at)relyant(dot)co(dot)za> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Problem performing a restore of a data schema in Windows |
Date: | 2005-02-07 14:04:15 |
Message-ID: | 4207755F.6030108@vertex.co.in |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
Can u please try with the following command:
pg_dump -s dbname >DumpFileName.dmp
or
pg_dump -s -u dbname >DumpFileName.dmp
For the second, you will be asked for username & password.
Regards,
Sandeep
Shaun Clements wrote:
> Hi All
>
> Im having a problem restoring a data schema on Postgres 8.01 for Windows.
> Im using the following command
> psql -U username -d db1 > filename.dmp
>
> This should have restored the schema from the file, filename.dmp to
> the database, db1
> I did create the database before restoring the data schema. And its
> not working.
>
> Am I missing something?
> Thanks in advance.
>
> Kind Regards,
> Shaun Clements
> Subject to www.relyant.co.za/edisclaim.htm
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------
>
>email-body was scanned and no virus found
>---------------------------------------------------------
>
>
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 823 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Pailloncy Jean-Gerard | 2005-02-07 14:10:17 | Re: Is there a peer-to-peer server solution with PG? |
Previous Message | Shaun Clements | 2005-02-07 13:35:49 | Re: Problem performing a restore of a data schema in Wi |