X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5055B474E5C for ; Wed, 12 Feb 2003 02:29:28 -0500 (EST) Received: from alpha.asllc.net (unknown [216.17.138.213]) by postgresql.org (Postfix) with SMTP id 8E03E474E44 for ; Wed, 12 Feb 2003 02:29:27 -0500 (EST) Received: (qmail 9853 invoked from network); 12 Feb 2003 07:29:28 -0000 Received: from 12-252-72-13.client.attbi.com (HELO ?192.168.100.110?) (12.252.72.13) by 216.17.138.213 with SMTP; 12 Feb 2003 07:29:28 -0000 Subject: Re: Convert v7.0.2-2c1 DB From: "Patrick S. Riedel" To: Tom Lane Cc: pgsql-admin@postgresql.org In-Reply-To: <1192.1045030266@sss.pgh.pa.us> References: <1045002448.8085.164.camel@DELTA> <1045005563.12931.58.camel@camel> <1192.1045030266@sss.pgh.pa.us> Content-Type: text/plain Organization: Analytical Services, LLC Message-Id: <1045034979.30841.194.camel@DELTA> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 12 Feb 2003 00:29:40 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/166 X-Sequence-Number: 7364 On Tue, 2003-02-11 at 23:11, Tom Lane wrote: > Robert Treat writes: > > On Tue, 2003-02-11 at 17:27, Patrick S. Riedel wrote: > >> I have a client with a v7.0.2-2c1 database stored on media. The > >> database files were stored raw, not dumped. Their current pgsql version > >> is 7.1; they do not have v7.0.2-2c1 installed anywhere. > > > Lordy, that's a fine mess you've got there. > > Yup... > > > As far as what version of 7.0.x to use, I don't recognize that release > > so it could very well be a release candidate version, but might also be > > a vendor/rpm/debian style version tag. > > Any released 7.0.* version should be disk-level-compatible. Given that > this is a 7.0.2-something and not a 7.0-something I don't think you need > to worry that it might be a 7.0 prerelease. So as long as you have the > complete $PGDATA directory tree (not a subset that omits pg_log, for > example) I think you should be able to compile any 7.0.* release and > fire it up against that directory tree. Then pg_dump and away you go. > > > In any/all cases, always copy the data over, never do anything on the > > original files. > > Check, always keep a pristine copy until you *know* you have a working, > cross-checked, backed-up database in a later version... > > regards, tom lane Thanks for the replies! I was able to find ye ol' v7.0.2-2c1 and installed on a test machine. Dumped db, all is well. -- Patrick S. Riedel ANALYTICAL SERVICES, LLC 970.481.1963