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)
commit3c13bc0321baaf340663779d6fce2b1f34c1c2c3
tree482e64a162df828622440c1818bf58624bff2435
parent69867c33fa946514e9de6efff0541762b2755484
dump: support gzipped and atomic output

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.
INSTALL
Makefile.local
configure
doc/man1/notmuch-dump.rst
notmuch-client.h
notmuch-dump.c
test/T240-dump-restore.sh