Re: Copy content from dbs

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Copy content from dbs
Date: 2006-06-14 12:02:10
Message-ID: e6ots2$25m$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 14.06.2006 13:56 Guido Neitzer wrote:
> Hi.
>
> Is there an easy way to copy the content including the table structure,
> indexes and so on from one db to another?
>
> Let's say I have a production db called db_production and want to create
> a development db called db_dev with exactly the same content on the same
> machine - just with the different name?

pg_dump: http://www.postgresql.org/docs/8.1/static/app-pgdump.html

Thomas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guido Neitzer 2006-06-14 12:10:55 Re: Copy content from dbs
Previous Message Guido Neitzer 2006-06-14 11:56:06 Copy content from dbs