]> git.cworth.org Git - notmuch/commitdiff
dump: support gzipped and atomic output
authorDavid Bremner <david@tethera.net>
Sat, 29 Mar 2014 01:14:51 +0000 (22:14 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 12 Apr 2014 10:59:44 +0000 (07:59 -0300)
The main goal is to support gzipped output for future internal
calls (e.g. from notmuch-new) to notmuch_database_dump.

The additional dependency is not very heavy since xapian already pulls
in zlib.

We want the dump to be "atomic", in the sense that after running the
dump file is either present and complete, or not present.  This avoids
certain classes of mishaps involving overwriting a good backup with a
bad or partial one.


No differences found