dsync connection issue

Sami Ketola
Fri, 28 Dec 2018 09:07:15 -0000

> On 27 Dec 2018, at 19.13, Subscription <leo1subscr at
zudiewiener.com> wrote:
>
> but when I try to do a backup with the following command from the old to
the new site
>
> sudo doveadm -D -o imapc_user=user1 at oldserver  -o
imapc_password=pw-oldserver backup -R -u user1 at newserver imapc:
>


Since both of your servers are running dovecot it would be probably better to
use native doveadm protocol (over ssh pipe if required) to do the migration
instead of using imapc.

something like:

doveadm backup -u user1 at newserver -R ssh oldserver sudo /usr/bin/doveadm
dsync-server -u user1 at oldserver

allowing sudo and ssh login with keys.

Sami