Commit 1088e720 authored by Peter Eisentraut's avatar Peter Eisentraut

Add note about saving large objects during upgrade.

parent cfeccdf8
<!-- $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"> <chapter id="backup">
<title>Backup and Restore</title> <title>Backup and Restore</title>
...@@ -87,7 +87,7 @@ pg_dump <replaceable class="parameter">dbname</replaceable> &gt; <replaceable cl ...@@ -87,7 +87,7 @@ pg_dump <replaceable class="parameter">dbname</replaceable> &gt; <replaceable cl
</para> </para>
</important> </important>
<sect2> <sect2 id="backup-dump-restore">
<title>Restoring the dump</title> <title>Restoring the dump</title>
<para> <para>
...@@ -144,7 +144,7 @@ pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>h ...@@ -144,7 +144,7 @@ pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>h
</sect2> </sect2>
<sect2> <sect2 id="backup-dump-all">
<title>Using <command>pg_dumpall</></title> <title>Using <command>pg_dumpall</></title>
<para> <para>
...@@ -179,7 +179,7 @@ pg_dumpall &gt; <replaceable>outfile</> ...@@ -179,7 +179,7 @@ pg_dumpall &gt; <replaceable>outfile</>
</para> </para>
</sect2> </sect2>
<sect2> <sect2 id="backup-dump-large">
<title>Large Databases</title> <title>Large Databases</title>
<note> <note>
...@@ -271,7 +271,7 @@ pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable c ...@@ -271,7 +271,7 @@ pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable c
</sect2> </sect2>
<sect2> <sect2 id="backup-dump-caveats">
<title>Caveats</title> <title>Caveats</title>
<para> <para>
......
<!-- $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"> <chapter id="installation">
<title><![%flattext-install-include[<productname>PostgreSQL</>]]> Installation Instructions</title> <title><![%flattext-install-include[<productname>PostgreSQL</>]]> Installation Instructions</title>
...@@ -180,14 +180,18 @@ su - postgres ...@@ -180,14 +180,18 @@ su - postgres
<userinput>pg_dumpall &gt; <replaceable>outputfile</></userinput> <userinput>pg_dumpall &gt; <replaceable>outputfile</></userinput>
</screen> </screen>
If you need to preserve the OIDs (such as when using them as If you need to preserve the OIDs (such as when using them as
foreign keys), then use the -o option when running foreign keys), then use the <option>-o</option> option when running
<application>pg_dumpall</>. <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>
<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 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> </para>
</step> </step>
......
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