From: Szymon Guz <mabewlun@gmail.com>
To: Renato Oliveira <renato.oliveira@grant.co.uk>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Migrate postgres to newer hardware
Date: Tue, 30 Mar 2010 13:28:31 +0200
Message-ID: <e4edc9361003300428s690df286q7f817cb9d936043f@mail.gmail.com> (raw)
In-Reply-To: <7965A9DCF12CC14984420BCC37B1608F25AB1AED49@Elzar.grant.co.uk>
References: <7965A9DCF12CC14984420BCC37B1608F25AB1AED49@Elzar.grant.co.uk>
2010/3/30 Renato Oliveira <renato.oliveira@grant.co.uk>
> Dear All,
>
> What would be the easiest and fastest way to migrate Postgres 8.2.24 32 BIT
> to a new server 64 Bit.
>
> The existing server runs on 32 bit architecture and has a database as big
> as 160GB.
>
> We initially thought of using PITR, but as one of the PITR requirements is
> both machines need to be similar.
>
> This similarity needs to be even in architecture? I think I read something
> which says “Yes”.
>
> If we cannot use PITR what would be the best approach, we can’t have down
> time I am afraid.
>
> Any ideas or suggestions would be very welcome.
>
>
>
I'd use Slony as a replication tool so the data would be copied to the new
serwer while the old still works. After initial copy Slony will copy changes
made during making the copy. Later (when the replication lag is small) it
should be enough to stop application, reconfigure it for the new database,
get rid of replication so the new slave database will restore all triggers
and then start the application for using the new database.
Slony uses pure SQL for copying the data so there is no problem with the
differences in the hardware.
regards
Szymon Guz
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: mabewlun@gmail.com, renato.oliveira@grant.co.uk
Subject: Re: Migrate postgres to newer hardware
In-Reply-To: <e4edc9361003300428s690df286q7f817cb9d936043f@mail.gmail.com>
* 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