File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
- <!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.6 2001/03/14 22:20:02 petere Exp $ -->
1
+ <!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.7 2001/03/19 16:19:26 petere Exp $ -->
2
2
<chapter id="backup">
3
3
<title>Backup and Restore</title>
4
4
@@ -87,7 +87,7 @@ pg_dump <replaceable class="parameter">dbname</replaceable> > <replaceable cl
87
87
</para>
88
88
</important>
89
89
90
- <sect2>
90
+ <sect2 id="backup-dump-restore" >
91
91
<title>Restoring the dump</title>
92
92
93
93
<para>
@@ -144,7 +144,7 @@ pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>h
144
144
145
145
</sect2>
146
146
147
- <sect2>
147
+ <sect2 id="backup-dump-all" >
148
148
<title>Using <command>pg_dumpall</></title>
149
149
150
150
<para>
@@ -179,7 +179,7 @@ pg_dumpall > <replaceable>outfile</>
179
179
</para>
180
180
</sect2>
181
181
182
- <sect2>
182
+ <sect2 id="backup-dump-large" >
183
183
<title>Large Databases</title>
184
184
185
185
<note>
@@ -271,7 +271,7 @@ pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable c
271
271
272
272
</sect2>
273
273
274
- <sect2>
274
+ <sect2 id="backup-dump-caveats" >
275
275
<title>Caveats</title>
276
276
277
277
<para>
Original file line number Diff line number Diff line change 1
- <!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.40 2001/03/10 16:57:18 petere Exp $ -->
1
+ <!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.41 2001/03/19 16:19:26 petere Exp $ -->
2
2
3
3
<chapter id="installation">
4
4
<title><![%flattext-install-include[<productname>PostgreSQL</>]]> Installation Instructions</title>
@@ -180,14 +180,18 @@ su - postgres
180
180
<userinput>pg_dumpall > <replaceable>outputfile</></userinput>
181
181
</screen>
182
182
If you need to preserve the OIDs (such as when using them as
183
- foreign keys), then use the -o option when running
184
- <application>pg_dumpall</>.
183
+ foreign keys), then use the <option>-o</option> option when running
184
+ <command>pg_dumpall</>. <command>pg_dumpall</command> does not
185
+ save large objects. Check
186
+ <![%flattext-install-include[the <citetitle>Administrator's Guide</>]]>
187
+ <![%flattext-install-ignore[<xref linkend="backup-dump-caveats">]]>
188
+ if you need to do this.
185
189
</para>
186
190
187
191
<para>
188
- Make sure that you use the <application >pg_dumpall</> command
192
+ Make sure that you use the <command >pg_dumpall</> command
189
193
from the version you are currently running. &version;'s
190
- <application >pg_dumpall</> should not be used on older databases.
194
+ <command >pg_dumpall</> should not be used on older databases.
191
195
</para>
192
196
</step>
193
197
You can’t perform that action at this time.
0 commit comments