How to skip errors on doveadm backup for migration ?

Farokh Irani farokh at mcfsoftware.com
Sun Jan 10 22:42:53 UTC 2016


If both servers are using IMAP, maybe imapsync 
(http://imapsync.lamiral.info) would be an easier way to go...

Farokh
----------------------------------------------------------------------------
MCF Software...simply dependably engineered
For all your computer and networking needs including hosting solutions
for every need.
Phone: 845-735-0210
Cell: 914-262-1594



> Christoph Adomeit <mailto:Christoph.Adomeit at gatworks.de>
> January 8, 2016 at 05:50
> Hi there,
>
> I have to migrate data out of a very old (debian 4) and buggy cyrus 
> mailserver.
> About 40 Users with 200000 Messages each.
>
> Doveadm backup works quite well and gives me most of the mails. About 
> every 100.000 Mail
> cannot be exported by cyrus. I do not want to bother about these errors.
> Maybe it is filesystem, maybe it is memory leak, or cyrus bug or whatever.
>
> My problem is that doveadm backup exits with an error if it cannot 
> read a mail.
>
>
>
> Is there some way or option to make doveadm backup just skip the 
> errors and continue with the next message ?
>
> I want to use doveadm sync because it preserves the uids of the mails.
>
> Imapsync works great but does not prserve uids.
>
> cyrus2dovecot is not an option because it does not work incremental 
> and conversion would take far too long.
>
> Any ideas what I can do ?
>
> Thanks
> Christoph



More information about the dovecot mailing list