Re: Moving notmucch between machines
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 notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: Moving notmucch between machines
Hi Bart, Bart Bunting writes: > Hi everyone, > > Sorry if this question has an obvious answer but I couldn't find it. > > 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? 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. However, it requires a little bit of fiddling (as it is actually intended as a bugtracker: https://notmuchmail.org/nmbug/) to set up, as it expects the tags to exist in a certain branch. I'd advise you to make a backup first and make a dry run before nuking your old system. > > I have previously tried and some how offlineimap got itself in a tangle > and redownloaded all messages. This is nontrivial as I have about 50g > of mail and indexes. You can rsync all your maildirs, but without the ~/.offlineimap folder it will lack the UUIDs of all your messages and will have to redownload them. If you copy the ~/.offlineimap folder over too, then it should work (fingers crossed). Hope this helps, Dan signature.asc Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Moving notmucch between machines
Hi everyone, Sorry if this question has an obvious answer but I couldn't find it. 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? I have previously tried and some how offlineimap got itself in a tangle and redownloaded all messages. This is nontrivial as I have about 50g of mail and indexes. Any suggestions would be appreciated. Kind regards Bart -- Bart Bunting - URSYS ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch