Re: Migration of PGDATA

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Migration of PGDATA
Дата
Msg-id 4BB07BCE.9040908@lelarge.info
обсуждение исходный текст
Ответ на Migration of PGDATA  ("Martin Münstermann" <mmuenst@gmx.de>)
Ответы Re: Migration of PGDATA  ("Martin Münstermann" <mmuenst@gmx.de>)
Список pgsql-admin
Le 29/03/2010 11:31, "Martin Münstermann" a écrit :
> [...]
> is it safe to move the PGDATA directory from one system to another when migrating from one operating system to
another?
> For example: migrating from Debian to RHEL, or from RHEL4 to RHEL5?
> The database is of course shutdown properly, and the PG major versions match.
>
> Or is a dump/restore necessary in these cases?
>

As long as you have the same hardware platform (for example no
32bit/64bit changes) and no difference in compiling options (for example
--disable-integer-datetimes), it should work great.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

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

Предыдущее
От: "Martin Münstermann"
Дата:
Сообщение: Migration of PGDATA
Следующее
От: Robert Joosten
Дата:
Сообщение: Re: Migration of PGDATA