pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Corrupted Database
2+ messages / 2 participants
[nested] [flat]

* Corrupted Database
@ 2002-07-13 11:51  Martin Kuria <martinkuria@hotmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Martin Kuria @ 2002-07-13 11:51 UTC (permalink / raw)
  To: owe.kristiansen@norgit.no; pgsql-admin; webmaster@can-host.com; cobalt-developers@list.cobalt.com; tgl@sss.pgh.pa.us; bryan@arcamax.com; olly@lfix.co.uk; kaygee@netset.com; allan@itsolutions.co.za; Mtanoviceanu@Soundbreak.com; keithmur@mindspring.com; ljcq@beane.sc.uevora.pt; lockhart@alumni.caltech.edu; php-dev@lists.php.net; mgeier@cdmsports.com; gena@rt.mipt.ru

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

Kind Regards

Martin Wainaina Kuria
Programmer/Database Administrator
Bsc. Computer Science
Kenyaweb.com Ltd
www.kenyaweb.com


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Corrupted Database
@ 2002-07-13 13:44  Oliver Elphick <olly@lfix.co.uk>
  parent: Martin Kuria <martinkuria@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Oliver Elphick @ 2002-07-13 13:44 UTC (permalink / raw)
  To: Martin Kuria <martinkuria@hotmail.com>; +Cc: owe.kristiansen@norgit.no; pgsql-admin; webmaster@can-host.com; cobalt-developers@list.cobalt.com; tgl@sss.pgh.pa.us; bryan@arcamax.com; kaygee@netset.com; allan@itsolutions.co.za; Mtanoviceanu@Soundbreak.com; keithmur@mindspring.com; ljcq@beane.sc.uevora.pt; lockhart@alumni.caltech.edu; php-dev@lists.php.net; mgeier@cdmsports.com; gena@rt.mipt.ru

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.Elphick@lfix.co.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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-07-13 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-13 11:51 Corrupted Database Martin Kuria <martinkuria@hotmail.com>
2002-07-13 13:44 ` Oliver Elphick <olly@lfix.co.uk>

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