Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 8E3106326C5 for ; Tue, 24 Aug 2010 15:24:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 03243-06 for ; Tue, 24 Aug 2010 18:24:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.egcrc.net (mail.egcrc.net [63.193.204.10]) by mail.postgresql.org (Postfix) with ESMTP id CE85F6325EF for ; Tue, 24 Aug 2010 15:24:37 -0300 (ADT) Received: from EGCRC-EX04.egcrc.org ([::1]) by EGCRC-EX03.egcrc.org ([::1]) with mapi; Tue, 24 Aug 2010 11:24:29 -0700 From: Tena Sakai To: "pgsql-admin@postgresql.org" Date: Tue, 24 Aug 2010 11:22:37 -0700 Subject: trouble restoring database Thread-Topic: trouble restoring database Thread-Index: ActDuVQmNHrgO98EQ1S3JngvtRG3mw== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.4.0.100208 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C8995BFDC10Btsakaigalloucsfedu_" MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201008/186 X-Sequence-Number: 35435 --_000_C8995BFDC10Btsakaigalloucsfedu_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Everybody, I installed a postgres 8.4.4 onto a centos 5.5 machine and attempted to res= tore data from a file made by pg_dumpall. It didn=92t work, it seems. What I d= id was to follow the instruction given in INSTALL file which comes with the source di= stribution. The section Getting Started gives a list and I did all but #5 (createdb tes= tdb + psql testdb). Instead of #5, I ran the command below: gunzip ..../dumpall20100822.0.gz | /usr/local/pgsql/bin/psql -f =96 post= gres Which terminated with exit status 0. But when I look at pg_stat_database I don=92t see the database I expected. Can somebody please tell me why this didn=92t work? Also, what must I do t= o successfully restore the database? Thank you in advance. Regards, Tena Sakai tsakai@gallo.ucsf.edu --_000_C8995BFDC10Btsakaigalloucsfedu_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable trouble restoring database Hi Everybody,

I installed a postgres 8.4.4 onto a centos 5.5 machine and attempted to res= tore
data from a file made by pg_dumpall.  It didn=92t work, it seems. &nbs= p;What I did was to
follow the instruction given in INSTALL file which comes with the source di= stribution.
The section Getting Started gives a list and I did all but #5 (createdb tes= tdb + psql testdb).
Instead of #5, I ran the command below:
   gunzip ..../dumpall20100822.0.gz | /usr/local/pgsql/bin/p= sql -f =96 postgres
Which terminated with exit status 0.

But when I look at pg_stat_database I don=92t see the database I expected.<= br> Can somebody please tell me why this didn=92t work?  Also, what must I= do to successfully
restore the database?

Thank you in advance.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu
--_000_C8995BFDC10Btsakaigalloucsfedu_--