Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 66FBE2E2DDF for ; Mon, 26 Nov 2007 18:10:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 97747-02 for ; Mon, 26 Nov 2007 18:10:13 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id B59612E2DAE for ; Mon, 26 Nov 2007 18:10:28 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lAQMAQe5004339; Mon, 26 Nov 2007 17:10:26 -0500 (EST) To: Jose Calderon cc: pgsql-admin@postgresql.org Subject: Re: database cluster missing In-reply-to: <6.1.2.0.2.20071126120639.01d12c48@mail.nandk.com> References: <6.1.2.0.2.20071126120639.01d12c48@mail.nandk.com> Comments: In-reply-to Jose Calderon message dated "Mon, 26 Nov 2007 12:16:55 -0800" Date: Mon, 26 Nov 2007 17:10:26 -0500 Message-ID: <4338.1196115026@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/226 X-Sequence-Number: 27469 Jose Calderon 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