28 Dec
2018
28 Dec
'18
11:07 a.m.
On 27 Dec 2018, at 19.13, Subscription <leo1subscr@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@oldserver -o imapc_password=pw-oldserver backup -R -u user1@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@newserver -R ssh oldserver sudo /usr/bin/doveadm dsync-server -u user1@oldserver
allowing sudo and ssh login with keys.
Sami