Re: How to update from 8.1 to 8.2 ?

From: Carol Walter <walterc(at)indiana(dot)edu>
To: Chris Hoover <revoohc(at)gmail(dot)com>
Cc: "Milen A(dot) Radev" <milen(at)radev(dot)net>, pgsql-admin(at)postgresql(dot)org
Subject: Re: How to update from 8.1 to 8.2 ?
Date: 2007-09-21 15:30:23
Message-ID: 3069AA17-872B-4AB0-810A-14B1754BF7A3@indiana.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Chris,

Perhaps I wasn't clear on what we did. We loaded the 8.2 and got it
running on a different zone on the same machine running Solaris. I
should have said we did a pg_dumpall using the 8.1 data. ( I know
there is a big difference.) Anyway, I did the pg_dumpall (using the
correct version, the new version.) of the live data and uploaded it
to the 8.2 instance. The 8.1 instance was still running. Both
systems automount the same dirs. We were able to put the data from
the 8.1 instance onto a directory that the 8.2 instance could see,
which made the cut over very quick and the production system just had
to be down long enough to stop and restart. I had already modified
the conf files and we didn't blow them away so we were good to go. I
just froze data entry from when I started the dump until the new
instance was available. That meant people could still select data
from the website. After the 8.2 instance was up and running and
everything looked like in came over correctly, we shut down the 8.1
instance.

Sorry about the confusion.

Carol

On Sep 20, 2007, at 2:06 PM, Chris Hoover wrote:

>
>
> On 9/20/07, Carol Walter <walterc(at)indiana(dot)edu> wrote:
> We just did this. I did a pg_dumpall using 8.1. Then we fired up
> 8.2 while 8.1 was still running. Uploaded the data to 8.2. Then
> shut 8.1 down. This allowed us to have the database unavailable for
> a very short time.
>
> Carol
>
>
> Carol,
>
> If this is truely what you did, you are a very lucky person. You
> are always supposed to dump the old database using the new versions
> pg_dump/pg_dumpall. That way, pg_dump/pg_dumpall can set up the
> data for any changes made by the newer version.
>
> Just an fyi for those following this thread.
>
> HTH,
>
> chris
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Yogesh Arora 2007-09-24 04:00:10 Re: Schedules Running Problem
Previous Message Kevin Grittner 2007-09-21 14:12:48 Re: Schedules Running Problem