dsync connection issue

subscription1 leo1subscr at zudiewiener.com
Tue Jan 1 19:29:21 EET 2019


Thanks for you suggestion, but I couldn't quite get it to work.

I ended up rsyncing the mail folders (there were only a few email 
accounts) a temporary folder on the new server and then used dsync to 
restore the mailfolders.

Thanks again for your help

Leo


On 28/12/18 10:07 am, Sami Ketola wrote:
>
>> 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


More information about the dovecot mailing list