Add note about saving large objects during upgrade.
This commit is contained in:
parent
cfeccdf80a
commit
1088e72054
@ -1,4 +1,4 @@
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.6 2001/03/14 22:20:02 petere Exp $ -->
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.7 2001/03/19 16:19:26 petere Exp $ -->
|
||||
<chapter id="backup">
|
||||
<title>Backup and Restore</title>
|
||||
|
||||
@ -87,7 +87,7 @@ pg_dump <replaceable class="parameter">dbname</replaceable> > <replaceable cl
|
||||
</para>
|
||||
</important>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="backup-dump-restore">
|
||||
<title>Restoring the dump</title>
|
||||
|
||||
<para>
|
||||
@ -144,7 +144,7 @@ pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>h
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="backup-dump-all">
|
||||
<title>Using <command>pg_dumpall</></title>
|
||||
|
||||
<para>
|
||||
@ -179,7 +179,7 @@ pg_dumpall > <replaceable>outfile</>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="backup-dump-large">
|
||||
<title>Large Databases</title>
|
||||
|
||||
<note>
|
||||
@ -271,7 +271,7 @@ pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable c
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="backup-dump-caveats">
|
||||
<title>Caveats</title>
|
||||
|
||||
<para>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.40 2001/03/10 16:57:18 petere Exp $ -->
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.41 2001/03/19 16:19:26 petere Exp $ -->
|
||||
|
||||
<chapter id="installation">
|
||||
<title><![%flattext-install-include[<productname>PostgreSQL</>]]> Installation Instructions</title>
|
||||
@ -180,14 +180,18 @@ su - postgres
|
||||
<userinput>pg_dumpall > <replaceable>outputfile</></userinput>
|
||||
</screen>
|
||||
If you need to preserve the OIDs (such as when using them as
|
||||
foreign keys), then use the -o option when running
|
||||
<application>pg_dumpall</>.
|
||||
foreign keys), then use the <option>-o</option> option when running
|
||||
<command>pg_dumpall</>. <command>pg_dumpall</command> does not
|
||||
save large objects. Check
|
||||
<![%flattext-install-include[the <citetitle>Administrator's Guide</>]]>
|
||||
<![%flattext-install-ignore[<xref linkend="backup-dump-caveats">]]>
|
||||
if you need to do this.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Make sure that you use the <application>pg_dumpall</> command
|
||||
Make sure that you use the <command>pg_dumpall</> command
|
||||
from the version you are currently running. &version;'s
|
||||
<application>pg_dumpall</> should not be used on older databases.
|
||||
<command>pg_dumpall</> should not be used on older databases.
|
||||
</para>
|
||||
</step>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user