Re: Using the /var/lib/pgsql/data directory in the absense

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Srinivas Kotapally <ksrinivas(at)bisil(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Using the /var/lib/pgsql/data directory in the absense
Date: 2003-07-23 05:42:46
Message-ID: 20030722224045.T55110-100000@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


On Tue, 22 Jul 2003, Srinivas Kotapally wrote:

> I am a newbie PostgreSQL DB admin. I have the following problem:
> 1. I have a redhat 8 box which has postgres installed.
> 2. I have reinstalled postgresql 7.2.1-5 (native postgres installation on
> RedHat 7.3) on the redhat 8.0
> 3. I don't have the database backups from my 7.3 installation - I however
> have access to the /var/lib/pgsql/data directory.
>
> My question is... can I use this to recover the database from the 7.3
> version. We got hacked and the earlier system was unusable.

> I tried to do fire up the postmaster process and could not fire up the DB.
> I don't get a message the system just returns to the prompt without starting
> the database.

How are you attempting to start the postmaster? If it's failing it should
be giving you output unless it's being redirected somewhere.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Renney Thomas 2003-07-23 08:23:19 compile error
Previous Message Charles Hornberger 2003-07-23 04:38:19 Re: using ssl some of the time