Re: Moving Tablespaces - Mailing list pgsql-general

From ptjm@interlog.com (Patrick TJ McPhee)
Subject Re: Moving Tablespaces
Date
Msg-id 423ofaF1fu824U2@uni-berlin.de
Whole thread Raw
In response to Moving Tablespaces  (Allen Fair <dba@girders.org>)
List pgsql-general
In article <43BB1FAA.6090001@cyberdesk.com>,
Allen Fair <allen@cyberdesk.com> wrote:

% Do you or (or anyone else) suggest a method for moving databases from
% one server to another without the time consuming dump/transfer/restore
% process? Anything in the contrib directory or a good management tool?

If you want to transfer an entire server to a different machine (i.e.,
not just a database, but all the databases), you can simply copy the
files, assuming the other machine has the same postgres version and
is architecturally compatible.

Tom's answer refers to mixing table files from one postgres server
with table files from a different postgres server. If you need to
do something like that, the answer is to use replication to move
the data over as it changes.
--

Patrick TJ McPhee
North York  Canada
ptjm@interlog.com

pgsql-general by date:

Previous
From: "ctobini"
Date:
Subject: Can't connect to postgresql using 'psql -d database -U user -W'
Next
From: "Larry Rosenman"
Date:
Subject: Re: Can't connect to postgresql using 'psql -d database -U user -W'