pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Diehl, Jeffrey <jdiehl@sandia.gov>
To: 'Thomas Swan' <tswan-lst@ics.olemiss.edu>
To: Diehl, Jeffrey <jdiehl@sandia.gov>
Cc: pgsql-sql@postgresql.org
Subject: RE: Upgd from 7.0 to 7.1
Date: Tue, 29 May 2001 16:43:12 -0600
Message-ID: <B51F0C636E578A4E832D3958690CD73E0130BF1F@es04snlnt> (raw)

Yes, this is probably what I'll do.  My drive is at 36% right now, so I
should have enough.  I also like haveing a back-out plan...

Thanx,
Mike Diehl,
Network Monitoring Tool Devl.
Sandia National Laboratories.
(505) 284-3137
jdiehl@sandia.gov

> -----Original Message-----
> From: Thomas Swan [mailto:tswan-lst@ics.olemiss.edu]
> Sent: May 29, 2001 4:41 PM
> To: Diehl, Jeffrey
> Cc: pgsql-sql@postgresql.org
> Subject: Re: [SQL] Upgd from 7.0 to 7.1
> 
> 
> Jeffrey:
> 
> dump_all the old DB (with the current version of postgres running)
> stop the old postmaster
> copy that DB directory (ie /var/lib/pgsql) to an alternate location
> create a new directory for the location you want postgresql to run, 
> (i.e. the old location)
> check the permissions on it...
> start the new version of postgresql...
> do the import (as postgres) ...
> 
> I think that would be the best way to go about it.  It's a lot easier 
> than sorting out multiple postmasters, ports, etc...
> 
> If everything goes well, you should be up and running.  If 
> not, you can 
> restore the old directory and run the old backend...
> 
> Hope this helps...
> 
> Thomas
> 
> 
> 
> Diehl, Jeffrey wrote:
> 
> >I assume, then, that if I RTFM, I'll be able to figure out 
> how to run two
> >db's at the same time...  I guess I have to run them in different
> >directories?  Or, do I do a dumpall, start the new server and do the
> >restore? Which is the best method?
> >
> >Thanx,
> >Mike Diehl,
> >Network Monitoring Tool Devl.
> >Sandia National Laboratories.
> >(505) 284-3137
> >jdiehl@sandia.gov
> >
> 
> 
> 




view thread (4+ messages)

Message-ID: <B51F0C636E578A4E832D3958690CD73E0130BF1F@es04snlnt>
Permalink:  ../B51F0C636E578A4E832D3958690CD73E0130BF1F@es04snlnt/
Also on:    postgresql.org/message-id/B51F0C636E578A4E832D3958690CD73E0130BF1F@es04snlnt

 · 

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-sql@postgresql.org
  Cc: jdiehl@sandia.gov, tswan-lst@ics.olemiss.edu
  Subject: Re: Upgd from 7.0 to 7.1
  In-Reply-To: <B51F0C636E578A4E832D3958690CD73E0130BF1F@es04snlnt>
  References: <B51F0C636E578A4E832D3958690CD73E0130BF1F@es04snlnt>

* 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