On 04/30/2015 02:51 AM, Reuben Farrelly wrote:> According to doveadm-dsync man page the above two options are valid,
> but they are rejected when used:
>
> tornado # doveadm backup -v -u testuser remote:pi.me.name:4814
> backup: invalid option -- 'v'
> doveadm backup [-u <user>|-A] [-S <socket_path>] [-fPRU] [-l
<secs>]
> [-r <rawlog path>] [-m <mailbox>] [-g <mailbox_guid>] [-n
<namespace>
> | -N] [-x <exclude>] [-s <state>] -d|<dest>
> tornado #
> tornado # doveadm backup -D -u testuser remote:pi.me.name:4814
> backup: invalid option -- 'D'
> doveadm backup [-u <user>|-A] [-S <socket_path>] [-fPRU] [-l
<secs>]
> [-r <rawlog path>] [-m <mailbox>] [-g <mailbox_guid>] [-n
<namespace>
> | -N] [-x <exclude>] [-s <state>] -d|<dest>
> tornado #
>
> This is with 2.2.16 (latest -hg). Looks to me like either a bug, or
> the documentation (man doveadm-sync) is incorrect...?
>
> Reuben
The man page appears to be wrong. [-Dv] belongs right after doveadm,
before [sync|backup]
doveadm -v backup -u testuser remote:pi.me.name:4814