Re: Copy database - Mailing list pgsql-admin

From Christian Sengstock
Subject Re: Copy database
Date
Msg-id febbf1590601300004h30e62be1k@mail.gmail.com
Whole thread Raw
In response to Re: Copy database  ("Uwe C. Schroeder" <uwe@oss4u.com>)
List pgsql-admin


2006/1/30, Uwe C. Schroeder <uwe@oss4u.com>:



On Monday 23 January 2006 00:49, Krzysztof Szadkowski wrote:
> Hi all,
>
> I am looking for a way to copy whole database to another existing
> database.
> Any suggestions ?
 
Sometimes you want to copy the whole DBMS to another machine where the same postgres version is running. You can just copy the ./data directory, check the permissions (chown -R postgres ./data) and run postmaster with this data directory (postmaster ... -d ./data).
 
Note: Like that, you can't copy a certain database. You have to use the same postgres version for that...
 
Chris


 

pgsql-admin by date:

Previous
From: "Uwe C. Schroeder"
Date:
Subject: Re: Copy database
Next
From: Josh O'Brien
Date:
Subject: upgrade issue