Re: Corrupted Database

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Martin Kuria <martinkuria(at)hotmail(dot)com>
Cc: owe(dot)kristiansen(at)norgit(dot)no, pgsql-admin(at)postgresql(dot)org, webmaster(at)can-host(dot)com, cobalt-developers(at)list(dot)cobalt(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, bryan(at)arcamax(dot)com, kaygee(at)netset(dot)com, allan(at)itsolutions(dot)co(dot)za, Mtanoviceanu(at)Soundbreak(dot)com, keithmur(at)mindspring(dot)com, ljcq(at)beane(dot)sc(dot)uevora(dot)pt, lockhart(at)alumni(dot)caltech(dot)edu, php-dev(at)lists(dot)php(dot)net, mgeier(at)cdmsports(dot)com, gena(at)rt(dot)mipt(dot)ru
Subject: Re: Corrupted Database
Date: 2002-07-13 13:44:45
Message-ID: 1026567886.15864.119.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sat, 2002-07-13 at 12:51, Martin Kuria wrote:
> Hi, my linux machine crushed and my postgresql 6.5 database was corrupted.
>
> I have /var/lib/pgsql/data intact, When I reinstalled Linux in a new
> machine, Can I copy this directory back in the new postgresql database, and
> will it work, because I have tried to do that but it did not work.
>
> Note: I had not backed my data so no pg_dump done , how else can I recover
> the data please do advice, I have /var/lib/pgsql/data directory which
> contains the databases, but how do I make the databases work please do
> assist thanks again

You must install a copy of PostgreSQL 6.5 to match your database. Later
versions of PostgreSQL will not work with it.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Let your character be free from the love of money,
being content with what you have; for He Himself has
said, "I will never desert you, nor will I ever
forsake you."
Hebrews 13:5

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jefim Matskin 2002-07-14 09:50:57 Multilingual issues
Previous Message Martin Kuria 2002-07-13 11:51:26 Corrupted Database