migrating dovecot to new server

David Mehler dave.mehler at gmail.com
Sat May 30 05:54:24 EEST 2020


Hello,

Thanks, the directory structure and files will all be the same so i'll
just rsync.

Thanks.
Dave.


On 5/29/20, Francis Augusto Medeiros-Logeay <r_f at med-lo.eu> wrote:
> I did what Aki said. Actually I moved it all to a new server and to docker
> containers. From Dovecot 2.2 to 2.3. And it worked fine. Of course one
> always forget something - the path for the certificates, the different
> directory for mounting storage, etc.
>
> But am surprise and happy that it worked very well.
>
> __
> Francis Augusto Medeiros-Logeay
> Oslo, Norway
> Sent from a mobile device / Enviado a partir de dispositivo móvel
>
>> On 29 May 2020, at 19:33, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
>>
>> 
>>> 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