Received: from mm02snlnto.sandia.gov (mm02snlnto.sandia.gov [132.175.109.21]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4TMhNE27246 for ; Tue, 29 May 2001 18:43:28 -0400 (EDT) (envelope-from jdiehl@sandia.gov) Received: from 132.175.109.1 by mm02snlnto.sandia.gov with ESMTP ( Tumbleweed MMS SMTP Relay (MMS v4.7)); Tue, 29 May 2001 16:43:18 -0600 X-Server-Uuid: 7edb479a-fd89-11d2-9a77-0090273cd58c Received: from es08snlnt.sandia.gov (es08snlnt.sandia.gov [134.253.130.11]) by sass165.sandia.gov (8.11.3/8.11.3) with ESMTP id f4TMhHn11747; Tue, 29 May 2001 16:43:17 -0600 (MDT) Received: by es08snlnt.sandia.gov with Internet Mail Service ( 5.5.2653.19) id ; Tue, 29 May 2001 16:43:17 -0600 Message-ID: From: "Diehl, Jeffrey" To: "'Thomas Swan'" , "Diehl, Jeffrey" cc: pgsql-sql@postgresql.org Subject: RE: Upgd from 7.0 to 7.1 Date: Tue, 29 May 2001 16:43:12 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) X-Filter-Version: 1.3 (sass165) X-WSS-ID: 170AF98C236196-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/319 X-Sequence-Number: 3160 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 > > > > >