X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id 90464CCDB0 for ; Fri, 18 Jul 2003 17:44:33 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 80862-09 for ; Fri, 18 Jul 2003 17:45:01 +0000 (GMT) Received: from priv-edtnes03-hme0.telusplanet.net (outbound01.telus.net [199.185.220.220]) by svr1.postgresql.org (Postfix) with ESMTP id 5EA3ACCD78 for ; Fri, 18 Jul 2003 14:44:27 -0300 (ADT) Received: from humone ([142.179.202.200]) by priv-edtnes03-hme0.telusplanet.net (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030718174500.AJC13254.priv-edtnes03-hme0.telusplanet.net@humone> for ; Fri, 18 Jul 2003 11:45:00 -0600 From: "Jeff Ward" To: Subject: Restore "data/base/myDB/" raw data files Date: Fri, 18 Jul 2003 11:44:57 -0600 Organization: Brainhum Corporation Message-ID: <000b01c34d54$4dcb5a30$6401a8c0@brainhum.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01C34D22.0330EA30" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.6 tagged_above=0.0 required=5.0 tests=HTML_30_40 X-Spam-Level: X-Archive-Number: 200307/173 X-Sequence-Number: 9513 This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C34D22.0330EA30 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit So I have a "data/base/myDB/" directory with a database that I need to restore from Postgres 7.0.2 on a Cobalt RaQ4 that went down. All I have is the directory to work with, and I see these files that I need are in there. I opened up one of the table files with a text editor and I could see all the data but there was lots of garbled stuff around it. So, .... sigh of relief that the data is in there .... but how can I get it out? Having troubles restoring the data as I learn how to do this. I copied this /myDB/ to my new /base/ directory and hoped it'd all just work. Of course, when I try to connect to that database, it can't find the database. So, I created a database with the same name as the one i need to restore. Then, I copied the table files from the /base/ backup, hoping that the tables would just show up with all my data. Nada. And I looked at the COPY command and no luck. Can somebody help me? Jeff Ward ------=_NextPart_000_000C_01C34D22.0330EA30 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Message
So I have a  "data/base/myDB/" directory with a database that I need t= o=20 restore from Postgres 7.0.2 on= a=20 Cobalt RaQ4 that went down. All I have is = the=20 directory to work with, and I see these files that I need are in there. I o= pened=20 up one of the table files with a text editor and I could see all the data b= ut=20 there was lots of garbled stuff around it. So, .... sigh of relief that the= data=20 is in there .... but how can I get it out?
 
Having troubles restoring the data as I le= arn how=20 to do this. I copied this /myDB/ to my new /base/ directory and hoped it'd = all=20 just work. Of course, when I try to connect to that database, it can't find= the=20 database. So, I created a database with the same name as the one i need to= =20 restore. Then, I copied the table files from the /base/ backup, hoping that= the=20 tables would just show up with all my data. Nada. And I looked at the COPY= =20 command and no luck. Can somebody help me?
 
Jeff Ward
 
 
------=_NextPart_000_000C_01C34D22.0330EA30--