Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 463C86325E3 for ; Sat, 20 Feb 2010 17:36:13 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 79229-05 for ; Sat, 20 Feb 2010 21:35:58 +0000 (UTC) X-Greylist: delayed 00:09:46.279133 by SQLgrey-1.7.6 Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mail.postgresql.org (Postfix) with ESMTP id 7CC7863161C for ; Sat, 20 Feb 2010 17:36:02 -0400 (AST) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id A1863DFEB0 for ; Sat, 20 Feb 2010 16:26:14 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 20 Feb 2010 16:26:14 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:content-type:content-transfer-encoding; s=smtpout; bh=lhqpzztNtt+Swj5g0t4yRYv5Fc8=; b=L+QZKYjoBOKgErRO3vY3Ea0g0+6GOFOPC0vfqyYRQoouIksfvZ3pq8fwq5FX3AGTU5NnsOJjndV4ebwdqNrMI/xS4ffVv28fxtF8SA+Su9TXxBk9B6aCXbjtLuNo4l04c/MCIFPPOZlwXFnIbK/sBF2A9atmkgsrxH4bJe3ZGcA= X-Sasl-enc: yv1cRyzyTNPTRHNXhgurstoedjYxYnJrteL/XOkaQqvo 1266701174 Received: from [192.168.1.100] (cpe-066-057-078-107.nc.res.rr.com [66.57.78.107]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2DA854B936F for ; Sat, 20 Feb 2010 16:26:14 -0500 (EST) Message-ID: <4B805376.80705@FastMail.fm> Date: Sat, 20 Feb 2010 16:26:14 -0500 From: "Richard O. Hammer" User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: PostgreSQL admin list Subject: upgrading, but learned about pg_dumpall too late Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=-10 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201002/157 X-Sequence-Number: 33760 Hello, I hope someone can tell me how to recover my database tables. I recently upgraded to a new Linux server. First I saved a copy of my /var/lib/pgsql/data/*, which was created with PG version 7.4. On the new Linux server I have PG version 8.1.11. But now, trying use my old tables, I discover that I should have saved the tables with the pg_dumpall command before I abandoned the version-7.4 Postgres server. Unfortunately I did not know about pg_dumpall. So now I'm wondering if there is a way I can read and update my version-7.4 data directory with my version-8.1 postmaster. Here is one thing I've tried: bash-3.2$ pg_ctl start -D /var/lib/pgsql/old/data FATAL: database files are incompatible with server DETAIL: The data directory was initialized by PostgreSQL version 7.4, which is not compatible with this version 8.1.1 Any suggestions will be appreciated. Thank you, Rich Hammer Hillsborough, N.C.