1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.21 2001/11/21 05:53:40 thomas Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.22 2001/11/28 20:49:09 petere Exp $
3
3
-->
4
4
<chapter id="backup">
5
5
<title>Backup and Restore</title>
@@ -26,7 +26,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.21 2001/11/21 05:53:40 thom
26
26
<title><acronym>SQL</> Dump</title>
27
27
28
28
<para>
29
- The idea behind this method is to generate a text file with SQL
29
+ The idea behind the SQL-dump method is to generate a text file with SQL
30
30
commands that, when fed back to the server, will recreate the
31
31
database in the same state as it was at the time of the dump.
32
32
<productname>PostgreSQL</> provides the utility program
@@ -107,8 +107,8 @@ psql <replaceable class="parameter">dbname</replaceable> < <replaceable class
107
107
for the pg_dump command. The database <replaceable
108
108
class="parameter">dbname</replaceable> will not be created by this
109
109
command, you must create it yourself from template0 before executing
110
- <application>psql</> (e.g., with <userinput >createdb -T template0
111
- <replaceable class="parameter">dbname</></userinput >).
110
+ <application>psql</> (e.g., with <literal >createdb -T template0
111
+ <replaceable class="parameter">dbname</></literal >).
112
112
<application>psql</> supports similar options to <application>pg_dump</>
113
113
for controlling the database server location and the user names. See
114
114
its reference page for more information.
@@ -376,15 +376,14 @@ tar -cf backup.tar /usr/local/pgsql/data
376
376
change between releases of <productname>PostgreSQL</>. This does not
377
377
apply to different <quote>patch levels</quote>, these always have
378
378
compatible storage formats. For example, releases 7.0.1, 7.1.2, and
379
- 7.2 are not compatible, whereas &version;.1 and &version; .2 are. When you
379
+ 7.2 are not compatible, whereas 7.1.1 and 7.1 .2 are. When you
380
380
update between compatible versions, then you can simply reuse the
381
381
data area in disk by the new executables. Otherwise you need to
382
382
<quote>back up</> your data and <quote>restore</> it on the new
383
383
server, using <application>pg_dump</>. (There are checks in place
384
384
that prevent you from doing the wrong thing, so no harm can be done
385
385
by confusing these things.) The precise installation procedure is
386
- not subject of this section, the <citetitle>Installation
387
- Instructions</citetitle> carry these details.
386
+ not subject of this section, these details are in <xref linkend="installation">.
388
387
</para>
389
388
390
389
<para>
0 commit comments