Discussion:
pg dump restore
(too old to reply)
Edgars
2004-08-24 10:27:12 UTC
Permalink
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?

Thanx in advance!
Edgars

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Antonis Antoniou
2004-08-24 14:47:03 UTC
Permalink
Post by Edgars
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


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Loading...