Re: making duplicate of database for development - Mailing list pgsql-admin

From Tilman Baumann
Subject Re: making duplicate of database for development
Date
Msg-id 43F3423F.9060404@collax.com
Whole thread Raw
In response to making duplicate of database for development  (Tilman Baumann <tilman.baumann@collax.com>)
List pgsql-admin
I made a dump with pg_dump -s -Fp --no-owner and removed the database
and schema definition ontop of the dump. Then i imported it into my new
database.
Seems to work.

Is this how you do it? :)

Tilman Baumann schrieb:

>hi.
>
>I like to make a copy of my existing database as a playgound/sandbox for
>developing.
>
>Is there any advise ho to achive this?
>
>Maybe there are tips how to work with it. Recommended workflows for
>taking a snapsot of one database and transfer it to another (including
>schema) and backmerging the changes on the developmnt playground.
>
>Thank you.
>
>
>


--
Tilman Baumann
Software Developer
Collax GmbH . Boetzinger Straße 60 . 79111 Freiburg . Germany

p: +49 (0) 761-4514-836
f: +49 (0) 761-4563-793

****** Meet us at CeBIT  ******
LinuxPark, Halle 5, Stand E64/6




pgsql-admin by date:

Previous
From: Tilman Baumann
Date:
Subject: making duplicate of database for development
Next
From: Simon Riggs
Date:
Subject: Re: constraint_exclusion on OLTP tables