|
1 | 1 | <!-- |
2 | | -$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.55 2005/01/22 22:56:35 momjian Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.56 2005/02/25 04:56:01 momjian Exp $ |
3 | 3 | --> |
4 | 4 | <chapter id="backup"> |
5 | 5 | <title>Backup and Restore</title> |
@@ -177,7 +177,7 @@ pg_dumpall > <replaceable>outfile</> |
177 | 177 | </synopsis> |
178 | 178 | The resulting dump can be restored with <application>psql</>: |
179 | 179 | <synopsis> |
180 | | -psqltemplate1 <<replaceable class="parameter">infile</replaceable> |
| 180 | +psql-f<replaceable class="parameter">infile</replaceable> template1 |
181 | 181 | </synopsis> |
182 | 182 | (Actually, you can specify any existing database name to start from, |
183 | 183 | but if you are reloading in an empty cluster then <literal>template1</> |
@@ -1210,7 +1210,7 @@ cd ~/postgresql-&version; |
1210 | 1210 | gmake install |
1211 | 1211 | initdb -D /usr/local/pgsql/data |
1212 | 1212 | postmaster -D /usr/local/pgsql/data |
1213 | | -psqltemplate1 <backup |
| 1213 | +psql-fbackup template1 |
1214 | 1214 | </programlisting> |
1215 | 1215 |
|
1216 | 1216 | See <xref linkend="runtime"> about ways to start and stop the |
|