On 2 Aug 2019, at 15.21, Coy Hile coy.hile@coyhile.com wrote:
On Aug 2, 2019, at 7:57 AM, Sami Ketola via dovecot dovecot@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@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