Question about replication

Sami Ketola Sami.Ketola at Open-Xchange.com
Fri Aug 2 17:03:03 EEST 2019



> On 2 Aug 2019, at 15.21, Coy Hile <coy.hile at coyhile.com> wrote:
> 
>> On Aug 2, 2019, at 7:57 AM, Sami Ketola via dovecot <dovecot at dovecot.org> wrote:
>> 
>> Sounds like you do not want to do replication but migration.
>> 
>> In this case migration can be easily done by using doveadm dsync to pull the mails from old server to new server. 
>> 
>> Something like: 
>> 
>> doveadm backup -u userid -R -f ssh syncuser at remote "sudo /usr/bin/doveadm dsync-server -u userid”
>> 
> 
> That may be the easier solution, you’re right. I was hoping to run both in parallel for a bit, but cutting over probably makes the most sense.
> 
> Thanks,


What you can do to make the switchover short as possible is to pre-sync all emails offline with first run of doveadm backup, and then the later the same command again during switchover just to sync the delta.

Sami

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190802/359a0d84/attachment-0001.html>


More information about the dovecot mailing list