Re: pg dump restore

From: "Antonis Antoniou" <a(dot)antoniou(at)albourne(dot)com>
To: "Edgars" <edzix19(at)inbox(dot)lv>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg dump restore
Date: 2004-08-24 14:47:03
Message-ID: 412B54E7.9050106@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Paul Thomas 2004-08-24 15:29:56 Re: [GENERAL] Dump and Restore
Previous Message Secrétariat 2004-08-24 13:57:03 Re: Dump and Restore