pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Edson <cheighlund@yahoo.com>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upgrade/Installation problem: Version 7.4.9 to version
Date: Wed, 17 Jan 2007 13:40:57 -0800 (PST)
Message-ID: <529135.16494.qm@web34213.mail.mud.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0701171304300.31602@discord.home.frostconsultingllc.com>

I apologize; I had intended to reply-all, and simply missed the mark somehow.  
   
  Also, thank you for the link to the documentation; it was clear enough that I was able to get what I needed done...at least as far as I can tell, since it's not finished yet.
   
  Thank you very much for your gracious assistance.

Jeff Frost <jeff@frostconsultingllc.com> wrote:
  Please reply-all when replying so everyone can help.

What I mean is that I have a physical server db1 which is old and meant to be 
replaced by new shiny physical server db2.

Let me ask a different question, because it seems perhaps I didn't understand 
your original email.

Are you just trying to upgrade from postgresql 7.4.9 to 8.1.3 (I'd suggest 
8.1.6 myself) on the same physical machine?

If so, then you need to use an intermediate file like this:

(starting from when postgresql-7.4.9 is running)
/usr/local/src/postgresql-8.1.6/src/bin/pg_dump/pg_dumpall | gzip > dumpall.gz
stop postgresql 7.4.9 server
rename the 7.4.9 data directory
install postgresql-8.1.6
initdb -E UTF8 -D /var/lib/pgsql/data
(or wherever your data directory is to reside)
start postgresql 8.1.6
zcat dumpall.gz | psql postgres
 
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.

view thread (13+ messages)  latest in thread

Message-ID: <529135.16494.qm@web34213.mail.mud.yahoo.com>
Permalink:  ../529135.16494.qm@web34213.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/529135.16494.qm@web34213.mail.mud.yahoo.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cheighlund@yahoo.com, jeff@frostconsultingllc.com
  Subject: Re: Upgrade/Installation problem: Version 7.4.9 to version
  In-Reply-To: <529135.16494.qm@web34213.mail.mud.yahoo.com>
  References: <Pine.LNX.4.64.0701171304300.31602@discord.home.frostconsultingllc.com> <529135.16494.qm@web34213.mail.mud.yahoo.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