From: Joshua D. Drake <jd@commandprompt.com>
To: jennifer fan <jenniferfan007@yahoo.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: restore data from DB base?
Date: Thu, 23 Dec 2004 19:07:58 -0800
Message-ID: <41CB880E.5010005@commandprompt.com> (raw)
In-Reply-To: <20041222181054.59918.qmail@web60406.mail.yahoo.com>
References: <20041222181054.59918.qmail@web60406.mail.yahoo.com>
jennifer fan wrote:
> One server that hold postgresql(7.4.6) and data(account system data)
> stop working yesterday, the disks may be demaged. the data wasn't
> backuped. Does anybody know how to restore data from DB base. That
> means, if the data directory could be found from disk, is it possiple
> to install a postgresql(7.4.6) in a new machine, copy data directory
> to new machine, then try to restore data ? But how to ask postgresql
> knew the data directory? Any suggestion will very be apperciate.
>
If the data directory is intact, you should be able to move it to a new
7.4.6 postgresql installation without issue.
You could then start it up with a command like this:
pg_ctl -D <path to data directory> -l <path to logfile> start
Sincerely,
Joshua D. Drake
> Thanks
>
>
>
>
>
>
> ------------------------------------------------------------------------
> Post your free ad now! *Yahoo! Canada Personals*
> <http://ca.personals.yahoo.com/;
--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL
Attachments:jd.vcf (text/x-vcard, 283B) download
begin:vcard
fn:Joshua Drake
n:Drake;Joshua
org:Command Prompt, Inc.
adr:;;PO Box 215 ;Cascade Locks;OR;97014;US
email;internet:jd@commandprompt.com
title:Consultant
tel;work:503-667-4564
tel;fax:503-210-0334
x-mozilla-html:FALSE
url:http://www.commandprompt.com
version:2.1
end:vcard
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: jd@commandprompt.com, jenniferfan007@yahoo.ca
Subject: Re: restore data from DB base?
In-Reply-To: <41CB880E.5010005@commandprompt.com>
References: <20041222181054.59918.qmail@web60406.mail.yahoo.com> <41CB880E.5010005@commandprompt.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