pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: "Martin Münstermann" <mmuenst@gmx.de>
To: pgsql-admin@postgresql.org
Subject: Migration of PGDATA
Date: Mon, 29 Mar 2010 11:31:34 +0200
Message-ID: <20100329093134.62810@gmx.net> (raw)

Hi,

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?

Thanks,
 Martin

-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02



view thread (7+ messages)  latest in thread

Message-ID: <20100329093134.62810@gmx.net>
Permalink:  ../20100329093134.62810@gmx.net/
Also on:    postgresql.org/message-id/20100329093134.62810@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: mmuenst@gmx.de
  Subject: Re: Migration of PGDATA
  In-Reply-To: <20100329093134.62810@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox