]> granicus.if.org Git - postgresql/commitdiff
Add some notes about unimplemented aspects of PITR backup/recovery.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 4 Aug 2004 17:37:09 +0000 (17:37 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 4 Aug 2004 17:37:09 +0000 (17:37 +0000)
doc/src/sgml/backup.sgml

index 3b45ec17def8c7bc3666537bddb2d75a9c743c2f..49b3afa4f739b0b305d2220242d180230eebc50f 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.41 2004/08/03 23:42:59 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.42 2004/08/04 17:37:09 tgl Exp $
 -->
 <chapter id="backup">
  <title>Backup and Restore</title>
@@ -891,6 +891,35 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
     timelines that branched off earlier than the base backup.
    </para>
   </sect2>
+
+  <sect2 id="backup-online-caveats">
+   <title>Caveats</title>
+
+   <para>
+    At this writing, there are several limitations of the on-line backup
+    technique.  These will probably be fixed in future releases.
+
+  <itemizedlist>
+   <listitem>
+    <para>
+     The effects of <command>CREATE DATABASE</>, <command>DROP DATABASE</>,
+     <command>CREATE TABLESPACE</>, and <command>DROP TABLESPACE</> are
+     not fully reflected in the WAL log.  It is recommended that you take
+     a new base backup after performing one of these operations.
+    </para>
+   </listitem>
+   <listitem>
+    <para>
+     Operations on non-btree indexes (hash, R-tree, and GiST indexes) are
+     not presently WAL-logged, so replay will not update these index types.
+     The recommended workaround, if you use any non-btree indexes, is to
+     manually <command>REINDEX</> each such index after completing a
+     recovery operation.
+    </para>
+   </listitem>
+  </itemizedlist>
+   </para>
+  </sect2>
  </sect1>
 
  <sect1 id="migration">