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

* database cluster missing
@ 2007-11-26 20:16  Jose Calderon <jcalderon@nandk.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jose Calderon @ 2007-11-26 20:16 UTC (permalink / raw)
  To: pgsql-admin

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.  The base directory 
is about 21GB which is about the same that is was before the computer 
crash.  I don't know where to start, I try to google and look at some 
threads but I couldn't find a similar issue.  I tried pg_resetxlog -f, but 
again the database starts find is just that it doesn't seem to be any 
database in it.

thank you




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

* Re: database cluster missing
@ 2007-11-26 22:10  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jose Calderon <jcalderon@nandk.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2007-11-26 22:10 UTC (permalink / raw)
  To: Jose Calderon <jcalderon@nandk.com>; +Cc: 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



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


end of thread, other threads:[~2007-11-26 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-11-26 20:16 database cluster missing Jose Calderon <jcalderon@nandk.com>
2007-11-26 22:10 ` Tom Lane <tgl@sss.pgh.pa.us>

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