mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Briefly document in two places that pg_dump and pg_dumpall cannot be
used for continuous archiving.
This commit is contained in:
parent
9dd6c4686b
commit
dd1486ccd4
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.143 2010/02/22 11:47:30 heikki Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.144 2010/02/22 17:15:10 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="backup">
|
<chapter id="backup">
|
||||||
<title>Backup and Restore</title>
|
<title>Backup and Restore</title>
|
||||||
@ -484,6 +484,16 @@ tar -cf backup.tar /usr/local/pgsql/data
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>
|
||||||
|
<application>pg_dump</application> and
|
||||||
|
<application>pg_dumpall</application> do not produce file-system-level
|
||||||
|
backups and cannot be used as part of a continuous-archiving solution.
|
||||||
|
Such dumps are <emphasis>logical</> and do not contain enough
|
||||||
|
information to used by WAL reply.
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
As with the plain file-system-backup technique, this method can only
|
As with the plain file-system-backup technique, this method can only
|
||||||
support restoration of an entire database cluster, not a subset.
|
support restoration of an entire database cluster, not a subset.
|
||||||
@ -744,7 +754,9 @@ SELECT pg_start_backup('label', true);
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Perform the backup, using any convenient file-system-backup tool
|
Perform the backup, using any convenient file-system-backup tool
|
||||||
such as <application>tar</> or <application>cpio</>. It is neither
|
such as <application>tar</> or <application>cpio</> (not
|
||||||
|
<application>pg_dump</application> or
|
||||||
|
<application>pg_dumpall</application>). It is neither
|
||||||
necessary nor desirable to stop normal operation of the database
|
necessary nor desirable to stop normal operation of the database
|
||||||
while you do this.
|
while you do this.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user