Search Postgresql Archives

Re: Problem performing a restore of a data schema in Wi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: Problem performing a restore of a data schema in Windows

Hi John

Thanks for the suggestion. It worked perfectly.

Thanks

Kind Regards,
Shaun Clements


-----Original Message-----
From: John DeSoi [mailto:desoi@xxxxxxxxxx]
Sent: 07 February 2005 04:21 PM
To: Shaun Clements
Cc: 'PgSql General'
Subject: Re: Problem performing a restore of a data schema in
Windows



On Feb 7, 2005, at 8:22 AM, Shaun Clements wrote:

> psql -U username -d db1 > filename.dmp

Try

psql.exe -U username -d db1 -f filename.dmp

If it does not work, paste the output from the terminal so we can see
what error you have. Are you sure filename.dmp is a plain text dump? If
not, you need to use pg_restore instead of psql.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
Subject to www.relyant.co.za/edisclaim.htm


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux