Thursday, 15 May 2008

Cloning/copying postgres databases

Do
createdb newdatabase -T olddatabase
always forget this and end up dumping the old database and loading it into the new one. It takes a lot of time that way. This way is quicker.

0 comments: