migrating dovecot to new server

Aki Tuomi aki.tuomi at open-xchange.com
Fri May 29 20:32:04 EEST 2020


> On 29/05/2020 20:12 Ralph Seichter <abbot at monksofcool.net> wrote:
> 
>  
> * David Mehler:
> 
> > I'd ideally like to back up all the mails in the maildir location,
> > copy that over, load in my configuration files, and bring the system
> > back up.
> 
> I don't think this qualifies as "ideal" for migration. My recommendation
> is to set up the new server and configure Dovecot replication (see Wiki).
> 
> If you configured things correctly, migration will happen without
> further intervention, and if there is a problem, you can resolve it in
> your own time, without damaging the existing server and data.
> 
> -Ralph

If your directory structure *and* namespace structure stays the same, you can rsync files over.

If you are going to change anything, do as Ralph suggests.

Aki


More information about the dovecot mailing list