From: Andrzej Zawadzki <zawadaa@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Moving database install to new SAN
Date: Thu, 13 Sep 2007 23:14:05 +0200
Message-ID: <46E9A81D.90309@gmail.com> (raw)
In-Reply-To: <20070913203946.GE6423@easy2.in-chemnitz.de>
References: <507905.14268.qm@web57114.mail.re3.yahoo.com>
<20070913203946.GE6423@easy2.in-chemnitz.de>
Użytkownik Tino Schwarze napisał:
> On Thu, Sep 13, 2007 at 01:15:34PM -0700, Abu Mushayeed wrote:
>
>> Can someone help me with moving a postgres database install to a new
>> SAN disks. We are getting a new set of faster disk, I would like to
>> find out is there a way, without reinstall to move existing database
>> and data to the new disks with minimal downtime.
>
> If you cannot move online with some SAN tools, you may simply
>
> 1. stop postgres
Not yet...
> 2. copy whole data directory over to new SAN
If database is big, then I think that is much faster to copy running
database
to new SAN.
Then stop postgres and rsync what was changed - but this will be probably
only a few files.
> 3. start postgres with new data directory
Minimal downtime I think.
Best regards
--
Andrzej Zawadzki
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: zawadaa@gmail.com
Subject: Re: Moving database install to new SAN
In-Reply-To: <46E9A81D.90309@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