Re: upgrade PostgreSQL 8.x on production FreeBSD

From: Alban Hertroys <alban(at)magproductions(dot)nl>
To: "pobox(at)verysmall(dot)org" <pobox(at)verysmall(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: upgrade PostgreSQL 8.x on production FreeBSD
Date: 2006-02-23 16:25:21
Message-ID: 43FDE1F1.8030406@magproductions.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pobox(at)verysmall(dot)org wrote:
> Could anybody point to an on-line resource about the steps involved with
> upgrading of PostgreSQL 8.x on a production FreeBSD 5.4 with minimum
> downtime (i.e. 1 - stop db so that no changes happen 2 - dump 3 -
> upgrade (ports) 4 - import 5- start db).

You want to make your dump with the pg_dump of the new version. I'm not
sure you can build the tools seperately (that'd be excellent, but my
FreeBSD boxes are at home)...

I think it should be:
1 - make postgresql,
2 - make install postgresql-tools
3 - dump
4 - stop db
5 - make install postgresql
6 - restore
7 - start db

--
Alban Hertroys
alban(at)magproductions(dot)nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
7500 AK Enschede

// Integrate Your World //

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Amrit Angsusing 2006-02-23 16:37:05 Could DBmirror be done with the mechine using RPM installation instaed of souce code [tar.gz] ?
Previous Message Richard Huxton 2006-02-23 16:23:59 Re: Cannot load number rows