You probably can do this with rsync, if you do not need to convert mail storage format. Safest way would be to stop both servers, do rsync, start both servers.
If your users have already written to the new server, you will have to use doveadm sync, otherwise data loss will occur.
Aki
On 04 September 2018 at 10:20 James Brown jlbrown@bordo.com.au wrote:
I’d like to migrate to a new server. I only need to transfer the mail store, have already done the users. I’ve seen different recommendations:
IMAP-Sync Rsync Doveadmin backup and dsync
What are the pros and cons of each? What would be best for me? I’m thinking that Doveadmin backup is the way to go.
Both old and new servers are on same network. New server is running Dovecot 2.3.2.1, old server is 2.2.32. macOS X.
Does anyone have any advice or examples?
Thanks, James.