Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

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  

Sorry about the confusion.


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

pgsql-admin by date

Next:From: Yogesh AroraDate: 2007-09-24 04:00:10
Subject: Re: Schedules Running Problem
Previous:From: Kevin GrittnerDate: 2007-09-21 14:12:48
Subject: Re: Schedules Running Problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group