Re: upgrading postgresql - Mailing list pgsql-admin

From Christian Fowler
Subject Re: upgrading postgresql
Date
Msg-id Pine.LNX.4.61.0412151131040.686@leda.steelsun.com
Whole thread Raw
In response to Re: upgrading postgresql  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-admin
2 bits of wisdom:

1. As mentioned below, always try this upgrade on a test/ offline/
sandbox/ development/ testing /etc server first

> -- Clean out the $PGDATA directory (keep a copy of your pg_hba.conf and
> postgresql.conf for reference)

2. A simple 'mv data/ data73/' after pg shutdown keeps your 7.3 DB around
incase something goes terribly wrong (i have had some dumps that would
*not* re-import themselves due to illegal characters). If you need to get
back online asap, just slip the 7.3 rpms back in, and 'mv data73 data'

> I'd recommend a test run of the major upgrade procedures you're planning
> on doing on a backup machine in case you run into some problems.  Use of
> a replication engine, like Slony as well as pgpool can allow you to
> seamlessly upgrade your installation while it stays online.  I'd
> practice this too on a backup system before going after the live
> servers.

[ \ /
[ >X<   Christian Fowler      | spider AT viovio.com
[ / \   http://www.viovio.com | http://www.tikipro.org



pgsql-admin by date:

Previous
From: Helena Lourenco
Date:
Subject: Remove my email address from the postgres lists
Next
From: Michael Fuhr
Date:
Subject: Re: [Re]:User Admin in pgsql