pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: documention of checkpoints with file system snapshots
Date: Wed, 24 Nov 2010 18:42:17 -0500 (EST)
Message-ID: <201011242342.oAONgH123174@momjian.us> (raw)

Document that a CHECKPOINT before taking a file system snapshot can
reduce recovery time.  Patch attached and applied.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachments:

/rtmp/diff (text/x-diff, 645B) download 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 <command>CHECKPOINT</command> before taking the + snapshot to reduce recovery time. </para> <para>

Message-ID: <201011242342.oAONgH123174@momjian.us>
Permalink:  ../201011242342.oAONgH123174@momjian.us/
Also on:    postgresql.org/message-id/201011242342.oAONgH123174@momjian.us

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-docs@postgresql.org
  Cc: bruce@momjian.us
  Subject: Re: documention of checkpoints with file system snapshots
  In-Reply-To: <201011242342.oAONgH123174@momjian.us>
  References: <201011242342.oAONgH123174@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox