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.
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 at 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.
> On 4 Sep 2018, at 10.20, James Brown <jlbrown at 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?It depends. Are your users already receiving mails to the new server? If yes, then the only way is to use "doveadm sync -1" or data will be lost. Even then data may be lost as UID numbers might already be used in the new server. If your users are not receiving mails to the new server it still depends. Is the mail storage format same in both servers? If yes, then it's probably fastest to use rsync. If not, then you need to use doveadm backup. imapsync always loses data. Sami
Thanks Sam Users not using new mail server yet. Both old and new using maildir. Sounds like rsync is the way to go. Thanks for your help. James. Sent from my iPhone XI> On 4 Sep 2018, at 5:41 pm, Sami Ketola <sami.ketola at dovecot.fi> wrote: > > > >> On 4 Sep 2018, at 10.20, James Brown <jlbrown at 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? > > > It depends. Are your users already receiving mails to the new server? If yes, then the only way is to use "doveadm sync -1" or data will be lost. Even then data may be lost as UID numbers might already be used in the new server. > If your users are not receiving mails to the new server it still depends. Is the mail storage format same in both servers? If yes, then it's probably fastest to use rsync. If not, then you need to use doveadm backup. > > imapsync always loses data. > > Sami > >
Am 04.09.2018 um 09:41 schrieb Sami Ketola:> imapsync always loses datanever saw this, be carefull by anounce such myths Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Schlei?heimer Stra?e 26/MG, 80333 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Finally have some time to review list emails... On Tue Sep 04 2018 03:41:50 GMT-0400 (Eastern Standard Time), Sami Ketola <sami.ketola at dovecot.fi> wrote:> imapsync always loses data.Hi Sami, Can you expand on this? I used ImapSync to migrate from Dovecot to Office365 a couple of years ago, and didn't notice any issues with it at all.