pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-interfaces@postgresql.org
To: tarabas1978@yahoo.com
Subject: Re: Replicate database
Date: Tue, 16 Sep 2003 15:12:00 +0200
Message-ID: <3F670C20.CBCD7230@rodos.fzk.de> (raw)

>
> Is there a way to replicate one-off(a copy of
> duplicate) of an existing Postgres database.
>
Pretty late reply, hopefully not too late.

Using the --template template option of the
createdb command should do the trick.
Refer to the manual for details.
Regards, Christoph





view thread (2+ messages)

Message-ID: <3F670C20.CBCD7230@rodos.fzk.de>
Permalink:  ../3F670C20.CBCD7230@rodos.fzk.de/
Also on:    postgresql.org/message-id/3F670C20.CBCD7230@rodos.fzk.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ch@rodos.fzk.de, tarabas1978@yahoo.com
  Subject: Re: Replicate database
  In-Reply-To: <3F670C20.CBCD7230@rodos.fzk.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox