--_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 [at] gallo.ucsf.edu
--_000_C8995BFDC10Btsakaigalloucsfedu_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"><title>trouble restoring database</title>
</head>
<body>
<font face=3D"Calibri, Verdana, Helvetica, Arial"><span style=3D"font-size:=
11pt">Hi Everybody,<br>
<br>
I installed a postgres 8.4.4 onto a centos 5.5 machine and attempted to res=
tore<br>
data from a file made by pg_dumpall. It didn=92t work, it seems. &nbs=
p;What I did was to<br>
follow the instruction given in INSTALL file which comes with the source di=
stribution.<br>
The section Getting Started gives a list and I did all but #5 (createdb tes=
tdb + psql testdb).<br>
Instead of #5, I ran the command below:<br>
gunzip ..../dumpall20100822.0.gz | /usr/local/pgsql/bin/p=
sql -f =96 postgres<br>
Which terminated with exit status 0.<br>
<br>
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<br>
restore the database?<br>
<br>
Thank you in advance.<br>
<br>
Regards,<br>
<br>
Tena Sakai<br>
<a href=3D"tsakai [at] gallo.ucsf.edu">tsakai [at] gallo.ucsf.edu</a></span></font>
</body>
</html>
--_000_C8995BFDC10Btsakaigalloucsfedu_--
