[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] sync'ing an mh mailstore between two machines?

From: Tethys
Subject: Re: [Nmh-workers] sync'ing an mh mailstore between two machines?
Date: Wed, 21 May 2008 20:14:59 +0100


Peter Maydell writes:

>Just use rsync to copy the laptop's idea of the situation
>onto the desktop again? (And vice-versa in the morning.)

Bleurgh! It's a difficult problem to solve. Probably the best
way is to use a DVCS for your mail store. They're generally
explicitly designed for offline operation and resyncing of
the repository when you get connectivity again.

At this point, I couldn't really recommend anything other
than git, because it's the only one I'm aware of that tracks
content rather than files. So even if you pack a folder and
your message numbers all change (whether it's on the server
or on the laptop), it should in theory do the right thing
when it comes to resyncing the two. You might need to knock
up a script to sanitize your sequences after the merge, but
I wouldn't have thought that would be too difficult.

I've never heard of anyone doing this with mail before, but
I can't see why it wouldn't work. Certainly an increasing
number of people swear by keeping things like /etc under
version control. Why not mail as well?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]