postgres.git / summary / log / commit / refs

commit    dd1486ccd485ca6b9580dba0a7e478393a1b8fcb
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Mon Feb 22 17:15:10 2010 +0000
First released in: 9.0.0

    Briefly document in two places that pg_dump and pg_dumpall cannot be
    used for continuous archiving.


doc/src/sgml/backup.sgml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index feadf2b1d02..f98417d283f 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -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"> <title>Backup and Restore</title> @@ -484,6 +484,16 @@ tar -cf backup.tar /usr/local/pgsql/data </itemizedlist> </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> As with the plain file-system-backup technique, this method can only support restoration of an entire database cluster, not a subset. @@ -744,7 +754,9 @@ SELECT pg_start_backup('label', true); <listitem> <para> 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 while you do this. </para> [parent: 9dd6c4686bc4]