Re: Postgre Databases
| From: | Jouni Ahto | Date: | Fri, 07 Jul 2000 11:34:31 +0000 |
| Subject: | Re: Postgre Databases | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-933@lists.php.net to get a copy of this message | ||
On Fri, 7 Jul 2000, Phil Lambert wrote:
> Hi all,
> does anyone know of a command or an easy way to copy a Postgre database
> (including contents)?
pg_dump database > dump.sql
psql new_database < dump.sql
See PostgreSQL docs for more info.
-- Jouni Ahto