Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 461A5133740B for ; Wed, 24 Nov 2010 19:42:22 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 21214-09 for ; Wed, 24 Nov 2010 23:42:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 939161337B4E for ; Wed, 24 Nov 2010 19:42:14 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id oAONgH123174 for pgsql-docs@postgresql.org; Wed, 24 Nov 2010 18:42:17 -0500 (EST) From: Bruce Momjian Message-Id: <201011242342.oAONgH123174@momjian.us> Subject: documention of checkpoints with file system snapshots To: PostgreSQL-documentation Date: Wed, 24 Nov 2010 18:42:17 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ELM1290642137-26071-0_" Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/35 X-Sequence-Number: 6233 --ELM1290642137-26071-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" Document that a CHECKPOINT before taking a file system snapshot can reduce recovery time. Patch attached and applied. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + --ELM1290642137-26071-0_ Content-Transfer-Encoding: 7bit Content-Type: text/x-diff Content-Disposition: inline; filename="/rtmp/diff" diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 3ce6fff..db7c834 100644 *** /tmp/eckWga_backup.sgml Wed Nov 24 18:40:43 2010 --- doc/src/sgml/backup.sgml Wed Nov 24 18:37:06 2010 *************** tar -cf backup.tar /usr/local/pgsql/data *** 383,388 **** --- 383,390 ---- on the backed-up data, it will think the previous server instance crashed and will replay the WAL log. This is not a problem; just be aware of it (and be sure to include the WAL files in your backup). + You can perform a CHECKPOINT before taking the + snapshot to reduce recovery time. --ELM1290642137-26071-0_--