[PATCH] Store "from" and "subject" headers in the database.

Daniel Schoepe daniel at schoepe.org
Sun Nov 6 13:59:33 PST 2011


On Sun, 06 Nov 2011 23:07:51 +0200, Jani Nikula <jani at nikula.org> wrote:
> ...what's the most convenient way of rebuilding the database while
> preserving my tags etc.? If this was merged, would an older version of
> notmuch choke on the rebuilt database with these headers? (To me it
> looks like it would be fine.)

Here's what I did:

notmuch dump > tags.db
rm -rf ~/Maildir/.notmuch
notmuch new
notmuch restore < tags.db

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111106/e6b33341/attachment-0001.pgp>


More information about the notmuch mailing list