[Dovecot] Replication via sneakernet

Timo Sirainen tss at iki.fi
Thu Nov 28 08:02:13 EET 2013


On 28.11.2013, at 5.17, David Bishop <dovecot at dpe.lusars.net> wrote:

> Is there a way to get a running transaction log from a Dovecot instance to
> synchronize (and I use that word very, very loosely) multiple instances
> that don't share a network?

dsync replication was designed in a way that would allow transferring the state over e.g. USB sticks, although it’s missing some code to make it actually possible.

> There are trams shuttling back and forth along this road (stopping at each
> station), and adding a small box (such as a weatherproofed Raspberry Pi
> with a wifi dongle) to transport files up and down the road is pretty
> simple.

But if you do it this way and you can keep a full copy of the shared mail storage on your Raspberry, that would be possible already with dsync I think. dsync supports quick incremental updates by keeping track of the previous state between the servers. This state is saved in a file, so you could keep a different state for each different dsynced server.



More information about the dovecot mailing list