Re: How to move a DB from one server to another...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to move a DB from one server to another...
Дата
Msg-id 22683.1119479349@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to move a DB from one server to another...  ("Federico Simonetti (Etheye)" <flame@etheye.com>)
Ответы R: How to move a DB from one server to another...  ("Federico Simonetti (Etheye)" <flame@etheye.com>)
Список pgsql-hackers-win32
"Federico Simonetti (Etheye)" <flame@etheye.com> writes:
> I've even tried to zip the entire database folder, but no luck. I'm stuck
> with this problem. Why is it so difficult to move a database from one server
> to another?

You can move the entire $PGDATA tree --- not parts, all of it --- to
another machine of the same architecture running the same major Postgres
release.  Anything else is not going to work.  It's a good idea to be
sure the postmaster is shut down while you copy the directory tree.

If you thought you were doing that, then let's see the exact error
messages you get.

            regards, tom lane

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Federico Simonetti (Etheye)"
Дата:
Сообщение: How to move a DB from one server to another...
Следующее
От: "Federico Simonetti (Etheye)"
Дата:
Сообщение: R: How to move a DB from one server to another...