Re: Copy database

Поиск
Список
Период
Сортировка
От Christian Sengstock
Тема Re: Copy database
Дата
Msg-id febbf1590601300004h30e62be1k@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Copy database  ("Uwe C. Schroeder" <uwe@oss4u.com>)
Список 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 по дате отправления:

Предыдущее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: Copy database
Следующее
От: Josh O'Brien
Дата:
Сообщение: upgrade issue