Notmuch and backups

Subject: Notmuch and backups

Date: Sat, 06 Mar 2021 10:40:29 -0800

To: David Bremner,


From: Matt Armstrong

David Bremner <> writes:


> +	return "database.backup_dir";


David, your recent changes that allow configurable separation of the
mail store and .notmuch files look like good ideas to me.

Separately, I've recently set up backups of my system and noticed that
the Xapian files are an order of magnitude larger than the notmuch dumps
(3.6 GiB vs. 15 MiB).  Is there any turn key code in notmuch itself to
keep a rolling set of "recent" notmuch dumps?

Alternatively, have folks contributed any such thing?

Failing everything, I can roll my own with cron and maybe logrotate or
something similar.  I thought I'd ask before going that way.
notmuch mailing list --
To unsubscribe send an email to