pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antonis Antoniou <a.antoniou@albourne.com>
To: Edgars <edzix19@inbox.lv>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg dump restore
Date: Tue, 24 Aug 2004 17:47:03 +0300
Message-ID: <412B54E7.9050106@albourne.com> (raw)
In-Reply-To: <412B1800.2010909@inbox.lv>
References: <412B1800.2010909@inbox.lv>

Edgars wrote:

> Hi all!
>
> such an easy question - i've dumped one of my postgresql databases in 
> one file names 'first'. So now i want to put the structure of this old 
> DB to another one named 'second'. How should i proceed  with this?

I think your question is not clear
If the 'first' is a database name then you will have to create a new 
database (createdb) 'second'.
http://www.postgresql.org/docs/7.4/static/backup.html




view thread (2+ messages)

Message-ID: <412B54E7.9050106@albourne.com>
Permalink:  ../412B54E7.9050106@albourne.com/
Also on:    postgresql.org/message-id/412B54E7.9050106@albourne.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: a.antoniou@albourne.com, edzix19@inbox.lv
  Subject: Re: pg dump restore
  In-Reply-To: <412B54E7.9050106@albourne.com>
  References: <412B1800.2010909@inbox.lv> <412B54E7.9050106@albourne.com>

* 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