Re: Migration of PGDATA

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Martin Münstermann <mmuenst(at)gmx(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Migration of PGDATA
Date: 2010-03-29 10:07:10
Message-ID: 4BB07BCE.9040908@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Robert Joosten 2010-03-29 10:18:58 Re: Migration of PGDATA
Previous Message Martin Münstermann 2010-03-29 09:31:34 Migration of PGDATA