Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group