Re: Failed to restore/recreate database (one more piece of info) - Mailing list pgsql-admin

From Tom Lane
Subject Re: Failed to restore/recreate database (one more piece of info)
Date
Msg-id 23695.1258396941@sss.pgh.pa.us
Whole thread Raw
In response to Failed to restore/recreate database (one more piece of info)  (Tena Sakai <tsakai@gallo.ucsf.edu>)
Responses Re: Failed to restore/recreate database (one more piece of info)  (Tena Sakai <tsakai@gallo.ucsf.edu>)
List pgsql-admin
Tena Sakai <tsakai@gallo.ucsf.edu> writes:
> Now that I am thinking, maybe the file made by pg_dumpall has
> "canon" encoded and therefore what I did logically did not copy
> any canon tables into musket?  Could this be the case?

Yup, exactly.  It would have created canon and restored into that.

> If so, how would I duplicate an existing database and call it
> with a different name?

Use pg_dump not pg_dumpall.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tena Sakai
Date:
Subject: Failed to restore/recreate database (one more piece of info)
Next
From: Kasia Tuszynska
Date:
Subject: Differences in installing Postgres 8.3.8