Guys, any help?
this lacks context.
Also, what would happen if the new server has a different hostname ?
So put temporary haproxy infront of it?
Il giorno dom 10 mar 2024 alle ore 14:28 Gandalf Corvotempesta gandalf.corvotempesta@gmail.com ha scritto:
Hi guys I have to migrate around 10k mailboxes from dovecot 2.13 to (i think) the same version but on a different server.
Why not just mount the data on the other server?
I have to reduce as much as possible the inconveniences to the users, at least in this (temporary) phase.
Just prepare two vm configs and stop the old and start the new.
What do you suggest to move everything ? Same config, same maildir location and rsync everything ?
You have to have a good reason to change storage formats, it is not really related to what instagrammers reeling about. What is your good reason to change?
Better ideas ? i've thought to use the exact same config on both servers, then start multiple rsync to sync as much as possible and when ready, drop the old dovecot in the old server, rsync the latest changes, and then move the dns pointment from the old ip to the new one.
I would go for just mount the data images on the other server. If that is not possible and you don't seem to know what is on the other server. Do the doveadm sync.
I would suggest thinking a bit more about this and what you want in the future. Because you don't want to do this to often. There was just a discussion about these folder names what you might consider looking at. Als the availability of 2.4, maybe wait?
But what about the MUA downloading emails ? I think this would be safe...or there is a chance that some MUA would re-download everything ? This would be unacceptable.
You will see when you are testing.