<html><head><title>Re: doveadm sync backup from old to new server</title>
<meta charset="utf-8" http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
</head>
<body>
<br><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>P> On 15/05/2020 10.56, Gregory Sloop wrote:<br>
>> IMAP sync looks better and better. I'm a little puzzled why I don't just give up walking on the broken glass and use it - but it just bugs the heck out of me.<br>
<br>
P> If you can get the dovecot native sync to work, it seems to be a<br>
P> better option, as it understands all the dovecot index formats etc,<br>
P> and will transfer those correctly. Imapsync doesn't, and when I did<br>
P> that I had a few problems with POP email clients re-downloading<br>
P> their entire Inbox, which produced a few groans. Your mileage may vary.<br>
<br>
P> Another option for you, if you have the time and energy would be<br>
P> to set up proper replication between the two servers. Then any<br>
P> changes made would be synced in real time, until the cutoff, when<br>
P> you just shut down the old server and the new one is already up to<br>
P> date. But if you can't get a simple sync happening then that might be a bit of over-reach.<br>
<br>
P> My suspicions on your current situation would center around the<br>
P> complications introduced by docker, and on file/container<br>
P> permissions, environment variables, paths etc.<br>
<br>
P> How about if you just try a simple doveadm command over ssh from<br>
P> the remote server to make sure that works. eg. from "Sending" server do<br>
<br>
P> ssh </b></span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:root@po.abc.net">root@po.abc.net</a><span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b> \<br>
P>  docker exec b3093cxxxxxx doveadm user </b></span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:user@abc.net">user@abc.net</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>P> That should execute the doveadm user command on the remote<br>
P> (receiving) server. If that works, then at least you can satisfy<br>
P> yourself that the docker bit is working correctly. Not sure why I'm<br>
P> getting involved in someone else's troubleshooting nightmare! ;-)<br>
<br>
</b><span style=" color: #000000;">doveadm user does work.<br>
i.e.<br>
ssh root@abc.net docker exec b3093c6200a9 doveadm user </span></span><a style=" font-family:'Courier New'; font-size: 9pt;" href="user@abc.net">user@abc.net</a><br>
<br>
<span style=" font-family:'Courier New'; font-size: 9pt;">I get the uid/gid/home/maildir of that account, etc.<br>
<br>
I do appreciate the help you've given!</body></html>