Re: How to move a DB from one server to another... - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: How to move a DB from one server to another...
Date
Msg-id 22683.1119479349@sss.pgh.pa.us
Whole thread Raw
In response to How to move a DB from one server to another...  ("Federico Simonetti (Etheye)" <flame@etheye.com>)
Responses R: How to move a DB from one server to another...
List 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 by date:

Previous
From: "Federico Simonetti (Etheye)"
Date:
Subject: How to move a DB from one server to another...
Next
From: "Federico Simonetti (Etheye)"
Date:
Subject: R: How to move a DB from one server to another...