This is working for me:
root@oldserver # dsync -v -D -u $user backup ssh newserver dsync -u $user
where $user is a username. oldserver and newserver can also have different mailbox format (in my case was mbox -> maildir)
Regards, gc
-------- Messaggio originale -------- Oggetto: Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another Data: Fri, 09 Sep 2011 15:50:49 +0200 Mittente: Tobias Hachmer <tobias@hachmer.de> A: <dovecot@dovecot.org>
On Fri, 09 Sep 2011 15:42:57 +0200, Giulio Casella wrote:
Have you tried dsync (part of dovecot)? I don't know if it works for migration to a different (major) version of dovecot, but it's a nice tool. And it works also over ssh.
Yeah, I read the sections in the dovecot v2 wiki, but I don't get how to use for migration. As far as I understood it's to keep several dovecot server at a unique data bank. An well, can I use it between dovecot v1.2 and v2?
Tobias
-- Giulio Casella giulio at dsi.unimi.it System and network manager Computer Science Dept. - University of Milano