From: | "Uwe C(dot) Schroeder" <uwe(at)oss4u(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Cc: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, Miguel Miranda <miguel(dot)mirandag(at)gmail(dot)com>, Madison Kelly <linux(at)alteeve(dot)com> |
Subject: | Re: Disaster recovery (server died) |
Date: | 2009-06-20 04:45:57 |
Message-ID: | 200906192145.57189.uwe@oss4u.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Friday 19 June 2009, Scott Marlowe wrote:
> On Fri, Jun 19, 2009 at 8:43 PM, Miguel
>
> Miranda<miguel(dot)mirandag(at)gmail(dot)com> wrote:
> > Well, i just didnt explain in detail, what i have is just the 16897
> > directory where i was storing the database, i tried just copying the
> > files but it didnt work,
> > should it be posible to import this database is any way?
>
> Nope, you need the whole data directory.
What I don't get is this: you said your CPU died. For me that's the processor
or maybe some interpret that as the main board.
So why don't you grab the harddisk from that server and plug it into the new
one? Maybe something might be corrupt due to the failure, but most of the
data should be on the disk (unless you use disks which lie about fsync).
Yep - another reason why one has at least a daily backup (in my case 2
replicas for every production server I run. I never had a major failure in
over 15 years - knock on wood - but if that happens I don't lose a heck of a
lot due to the backups and slony replicas)
Uwe
From | Date | Subject | |
---|---|---|---|
Next Message | Jasen Betts | 2009-06-20 05:22:10 | Re: pl/sql resources for pl/pgsql? |
Previous Message | Jasen Betts | 2009-06-20 04:14:12 | Re: Dynamic table |