Re: Moving Tablespaces

From: ptjm(at)interlog(dot)com (Patrick TJ McPhee)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Moving Tablespaces
Date: 2006-01-05 05:17:30
Message-ID: 423ofaF1fu824U2@uni-berlin.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In article <43BB1FAA(dot)6090001(at)cyberdesk(dot)com>,
Allen Fair <allen(at)cyberdesk(dot)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(at)interlog(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pandurangan R S 2006-01-05 05:58:44 Re: plpgsql question
Previous Message Benjamin Smith 2006-01-05 05:00:25 Putting restrictions on pg_dump?