Re: Moving notmucch between machines

Subject: Re: Moving notmucch between machines

Date: Tue, 13 Aug 2019 07:46:34 -0300

To: Dan Čermák, Bart Bunting,


From: David Bremner

Dan Čermák <> writes:

> Hi Bart,
> Bart Bunting <> writes:
>> I am migrating from OSX to Linux and want to move my mail over.
>> I am unsure of the best way to approach the problem.
>> Is it possible to somehow export and re import tags or can I simply move the
>> maildir and notmuch indexes over and expect things to work?

notmuch dump and restore are intended for jobs like this (as well as for
backing up the database in a relatively compact form).

> You can "abuse" the nmbug script for that: it saves all your tags into a
> git repository and allows you to later apply all the tags onto another
> notmuch database.

FWIW, nmbug is just a wrapper around notmuch dump and restore.
notmuch mailing list