doveadm sync -1 -R

Timo Sirainen tss at
Wed Apr 6 19:18:29 UTC 2016

On 05 Apr 2016, at 13:49, Lukas Kolbe <lkolbe at> wrote:
> For each invoke of doveadm backup -R, the local (new) mailbox gets wiped and all mails are retransferred - so far, so good. I’d like to use "doveadm sync -1“ as per the manpage to keep the downtime short, however sync doesn’t like the -R option:
> sync: invalid option -- 'R'
> doveadm sync [-u <user>|-A] [-S <socket_path>]  [-1fPU] [-l <secs>] [-r <rawlog path>] [-m <mailbox>] [-g <mailbox_guid>] [-n <namespace> | -N] [-x <exclude>] [-s <state>] -d|<dest>
> If I understand it correctly, without -R it would mean that doveadm sync would incorporate the changes from the local dovecot-mailbox into the remote imapc:-Mailbox, which is the opposite of what I want. 

I completely forgot doveadm sync -1 when I removed -R :(

Reverted original "fix":

This is what it should have been:

More information about the dovecot mailing list