Commit 35d3c85a authored by Tatsuo Ishii's avatar Tatsuo Ishii

The usage of kill is incorrect (lacks "data"). Anyway we should use

pg_ctl instead.
parent acb66fc5
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.14 2001/09/10 07:11:28 ishii Exp $ --> <!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.15 2001/09/10 07:17:01 ishii Exp $ -->
<chapter id="backup"> <chapter id="backup">
<title>Backup and Restore</title> <title>Backup and Restore</title>
...@@ -407,7 +407,7 @@ pg_dumpall -p 5432 | psql -d template1 -p 6543 ...@@ -407,7 +407,7 @@ pg_dumpall -p 5432 | psql -d template1 -p 6543
<informalexample> <informalexample>
<programlisting> <programlisting>
pg_dumpall > backup pg_dumpall > backup
kill -INT `cat /usr/local/pgsql/postmaster.pid` pg_ctl stop
mv /usr/local/pgsql /usr/local/pgsql.old mv /usr/local/pgsql /usr/local/pgsql.old
cd /usr/src/postgresql-7.1 cd /usr/src/postgresql-7.1
gmake install gmake install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment