X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4DFF6475BF9 for ; Wed, 12 Feb 2003 01:11:09 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 75525475BC3 for ; Wed, 12 Feb 2003 01:11:08 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h1C6B65u001193; Wed, 12 Feb 2003 01:11:06 -0500 (EST) To: Robert Treat Cc: "Patrick S. Riedel" , pgsql-admin@postgresql.org Subject: Re: Convert v7.0.2-2c1 DB In-reply-to: <1045005563.12931.58.camel@camel> References: <1045002448.8085.164.camel@DELTA> <1045005563.12931.58.camel@camel> Comments: In-reply-to Robert Treat message dated "11 Feb 2003 18:19:23 -0500" Date: Wed, 12 Feb 2003 01:11:06 -0500 Message-ID: <1192.1045030266@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/153 X-Sequence-Number: 7351 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