Introducing notmuch-sync: mbsync-compatible sync across machines

Subject: Introducing notmuch-sync: mbsync-compatible sync across machines

Date: Wed, 23 Jul 2025 13:01:20 -0600

To: notmuch@notmuchmail.org

Cc:

From: Lars Kotthoff


Hi all,

 following recent discussions here, I've implemented a Python script to sync 
notmuch databases and files across machines. It's similar to muchsync, but it 
keeps the file names across machines and optionally synchronizes mbsync state 
files so that you can run mbsync on all machines and still sync sensibly.

The other main difference to muchsync is that notmuch-sync doesn't keep a 
"shadow" database to figure out changes, but relies on database revision to 
determine what has changed since the last sync. Oh and there are copious unit 
and integration tests (including with a real IMAP server and mbsync).

I've been using it for a while now and nothing obviously broke, but please 
consider it alpha software at this point. Make sure you have backups and keep an 
eye on it, and if you do find a bug or something that doesn't work, please let 
me know!

You can find the repository at https://github.com/larskotthoff/notmuch-sync. The 
package is also available through pip.

Cheers,

Lars
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: