Re: database cluster missing - Mailing list pgsql-admin

From Tom Lane
Subject Re: database cluster missing
Date
Msg-id 4338.1196115026@sss.pgh.pa.us
Whole thread Raw
In response to database cluster missing  (Jose Calderon <jcalderon@nandk.com>)
List pgsql-admin
Jose Calderon <jcalderon@nandk.com> writes:
> Hello I don't know where to start with this problem, so we do weekly
> backups of our computers.  The hard drive of one of our computers stopped
> working so we are trying to restore it.  We had an image of the hard drive
> and used the latest backups.  Now I can start the database without a
> problem but it doesn't list any of the databases we had on it.  Using
> SELECT datname FROM pg_database ORDER BY datname returns no entries and
> even if I connect using pgAdmin III I see no databases.

Vacuuming pg_database might help ... if so, you probably need
database-wide vacuums in all your databases.

            regards, tom lane

pgsql-admin by date:

Previous
From: "David Young"
Date:
Subject: Is there an easy and safe way to migrate a database to a new tablespace?
Next
From: "Elvis Henríquez"
Date:
Subject: Case studies