From: Jeff Ward <jeff.ward@brainhum.com>
To: pgsql-admin@postgresql.org
Subject: Restore "data/base/myDB/" raw data files
Date: Fri, 18 Jul 2003 11:44:57 -0600
Message-ID: <000b01c34d54$4dcb5a30$6401a8c0@brainhum.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jeff.ward@brainhum.com
Subject: Re: Restore "data/base/myDB/" raw data files
In-Reply-To: <000b01c34d54$4dcb5a30$6401a8c0@brainhum.com>
References: <000b01c34d54$4dcb5a30$6401a8c0@brainhum.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox