<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Well that option set still doesn’t look correct…<div class=""><br class=""></div><div class="">Here is the doveadm option set from my 2.2.2 server which is several weeks\months before 2.2.36…<div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">[Jul-27 @ 15:25:09 ] > dovecot --version</div><div class="">2.2.2</div><div class=""><br class=""></div><div class=""><div class="">[Jul-27 @ 15:26:53 ] > ls -l /usr/local/bin/doveadm</div><div class="">-rwxr-xr-x 1 root root 1379203 May 22  2013 /usr/local/bin/doveadm</div></div><div class=""><br class=""></div><div class="">[Jul-27 @ 15:25:12 ] > doveadm</div><div class="">usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]</div><div class=""><br class=""></div><div class="">  altmove      [-u <user>|-A] [-S <socket_path>] [-r] <search query></div><div class="">  auth         cache|test</div><div class="">  backup       [-u <user>|-A] [-S <socket_path>] [-dfR] [-l <secs>] [-m <mailbox>] [-n <namespace>] [-s <state>] <dest></div><div class="">  batch        [-u <user>|-A] [-S <socket_path>] <sep> <cmd1> [<sep> <cmd2> [..]]</div><div class="">  config       [doveconf parameters]</div><div class="">  copy         [-u <user>|-A] [-S <socket_path>] <destination> [user <source user>] <search query></div><div class="">  director     add|dump|flush|map|move|remove|ring|ring|ring|status</div><div class="">  dump         [-t <type>] <path></div><div class="">  exec         <binary> [binary parameters]</div><div class="">  expunge      [-u <user>|-A] [-S <socket_path>] [-d] <search query></div><div class="">  fetch        [-u <user>|-A] [-S <socket_path>] <fields> <search query></div><div class="">  force-resync [-u <user>|-A] [-S <socket_path>] <mailbox mask></div><div class="">  fs           copy|delete|get|iter|iter-dirs|put|stat</div><div class="">  help         <cmd></div><div class="">  import       [-u <user>|-A] [-S <socket_path>] [-s] <source mail location> <dest parent mailbox> <search query></div><div class="">  index        [-u <user>|-A] [-S <socket_path>] [-q] [-n <max recent>] <mailbox mask></div><div class="">  instance     list|remove</div><div class="">  kick         [-a <anvil socket path>] [-f] <user mask>[|]<ip/bits></div><div class="">  log          errors|find|reopen|test</div><div class="">  mailbox      create|delete|list|mutf7|rename|status|subscribe|unsubscribe</div><div class="">  mount        add|list|remove</div><div class="">  move         [-u <user>|-A] [-S <socket_path>] <destination> [user <source user>] <search query></div><div class="">  penalty      [-a <anvil socket path>] [<ip/bits>]</div><div class="">  proxy        kick|list</div><div class="">  purge        [-u <user>|-A] [-S <socket_path>]</div><div class="">  pw           [-l] [-p plaintext] [-r rounds] [-s scheme] [-t hash] [-u user] [-V]</div><div class="">  reload</div><div class="">  replicator   remove|replicate|status</div><div class="">  search       [-u <user>|-A] [-S <socket_path>] <search query></div><div class="">  sis          deduplicate|find</div><div class="">  stats        dump|top</div><div class="">  stop</div><div class="">  sync         [-u <user>|-A] [-S <socket_path>] [-dfR] [-l <secs>] [-m <mailbox>] [-n <namespace>] [-s <state>] <dest></div><div class="">  user         [-a <userdb socket path>] [-x <auth info>] [-f field] [-u] <user mask> [...]</div><div class="">  who          [-a <anvil socket path>] [-1] [<user mask>] [<ip/bits>]</div><div class="">  zlibconnect  <host> [<port>]</div></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 27, 2020, at 3:28 PM, Kishore Potnuru <<a href="mailto:kishore.reachme@gmail.com" class="">kishore.reachme@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Oh, I am extremely sorry. I was confused when typing the issue. Please help me in fixing the issue. Production1 is my old server. Production2 is my new server. Typing here correctly. Ignore all previous one's.<div dir="auto" class=""><br class=""></div><div dir="auto" class=""><blockquote style="font-family: sans-serif;" class=""><div class=""><div dir="ltr" class=""><div class="">The new version is:<br class="">====================<br class="">[root@production2 ~]# dovecot --version<br class="">2.2.36 (1f10bfa63)<br class=""><br class=""><br class="">The old version is : <br class="">======================<br class="">[root@production1 ~]# dovecot --version<br class="">2.0.9<br class=""><br class=""><br class="">I have executed the command from the new server:<br class=""><br class=""><br class=""><br class="">=================================<br class="">[root@production2 <a href="http://test.org.com/" class="">test.org.com</a>]# doveadm backup -R -u <a href="mailto:kishore@test.org.com" class="">kishore@test.org.com</a> <a href="mailto:remote%3Avmail@production1.baplc.com" class="">remote:vmail@production1.baplc.com</a><br class=""><a href="mailto:vmail@production1.baplc.com" class="">vmail@production1.baplc.com</a>'s password:<br class="">usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]<br class=""><br class="">  altmove      [-u <user>|-A] [-S <socket_path>] <search query><br class="">  auth         [-a <auth socket path>] [-x <auth info>] <user> [<password>]<br class="">  config       [doveconf parameters]<br class="">  director     add|flush|map|remove|status<br class="">  dump         [-t <type>] <path><br class="">  expunge      [-u <user>|-A] [-S <socket_path>] <search query><br class="">  fetch        [-u <user>|-A] [-S <socket_path>] <fields> <search query><br class="">  force-resync [-u <user>|-A] [-S <socket_path>] <mailbox><br class="">  help         <cmd><br class="">  import       [-u <user>|-A] [-S <socket_path>] <source mail location> <dest parent mailbox> <search query><br class="">  kick         [-a <anvil socket path>] [-f] <user mask>[|]<ip/bits><br class="">  log          find|reopen|test<br class="">  mailbox      create|delete|list|mutf7|rename|status|subscribe|unsubscribe<br class="">  penalty      [-a <anvil socket path>] [<ip/bits>]<br class="">  purge        [-u <user>|-A] [-S <socket_path>]<br class="">  pw           [-l] [-p plaintext] [-r rounds] [-s scheme] [-u user] [-V]<br class="">  reload<br class="">  search       [-u <user>|-A] [-S <socket_path>] <search query><br class="">  sis          deduplicate|find<br class="">  stop<br class="">  user         [-a <userdb socket path>] [-x <auth info>] <user mask> [...]<br class="">  who          [-a <anvil socket path>] [-1] [<user mask>] [<ip/bits>]<br class="">dsync-local(<a href="mailto:kishore@test.org.com" class="">kishore@test.org.com</a>): Error: read(<a href="mailto:vmail@production1.baplc.com" class="">vmail@production1.baplc.com</a>) failed: EOF (version not received)<br class="">dsync-local(<a href="mailto:kishore@test.org.com" class="">kishore@test.org.com</a>): Error: Remote command returned error 1: ssh -lvmail <a href="http://production1.baplc.com/" class="">production1.baplc.com</a> doveadm dsync-server -<a href="mailto:ukishore@test.org.com" class="">ukishore@test.org.com</a><br class=""><br class="">[root@production2 <a href="http://test.org.com/" class="">test.org.com</a>]#<br class=""><br class="">=================================<br class=""></div></div></div></blockquote><br class=""><br class=""><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, 27 Jul, 2020, 11:18 pm Antonio Leding, <<a href="mailto:tech@leding.net" class="">tech@leding.net</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word; line-break: after-white-space;" class="">Fair enough but the command snippet I posted was taken directly from your earlier post dated <i style="font-variant-ligatures: normal;" class="">Mon Jul 27 23:11:06 EEST 2020</i> and it does say “production1”…I just double-checked as well...<div class=""><br class=""></div><div class="">FWIW…the server order in the command you just pasted is the exact reverse from the Jul 27th post I mentioned above…</div><div class=""><br class=""></div><div class="">Here you appear to be exec’ing the command on prod2 and trying to pull from the remote of prod 1…your earlier post was exec’ing on prod1 and pulling from the remote of prod2…</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jul 27, 2020, at 3:10 PM, Kishore Potnuru <<a href="mailto:kishore.reachme@gmail.com" target="_blank" rel="noreferrer" class="">kishore.reachme@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">I am executing the command from the new server. I was executing the command from production2 server only. It has the backup option, but whereas production1 doesn't have it. Though I am executing from production2, I am seeing the below error. Is it becasue production1 server doesn't have that option? Please let me know, if it is confusing.<div class=""><br class=""><br class="">The new version is:<br class="">====================<br class="">[root@production2 ~]# dovecot --version<br class="">2.2.36 (1f10bfa63)<br class=""><br class=""><br class="">The old version is :<span class="Apple-converted-space"> </span><br class="">======================<br class="">[root@production1 ~]# dovecot --version<br class="">2.0.9<br class=""><br class=""><br class="">I have executed the command from the new server:<br class=""><br class=""><br class=""><br class="">=================================<br class="">[root@production2<span class="Apple-converted-space"> </span><a href="http://test.org.com/" target="_blank" rel="noreferrer" class="">test.org.com</a>]# doveadm backup -R -u<span class="Apple-converted-space"> </span><a href="mailto:kishore@test.org.com" target="_blank" rel="noreferrer" class="">kishore@test.org.com</a><span class="Apple-converted-space"> </span><a href="mailto:remote%3Avmail@production1.baplc.com" target="_blank" rel="noreferrer" class="">remote:vmail@production1.baplc.com</a><br class=""><a href="mailto:vmail@production1.baplc.com" target="_blank" rel="noreferrer" class="">vmail@production1.baplc.com</a>'s password:<br class="">usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]<br class=""><br class=""> <span class="Apple-converted-space"> </span>altmove      [-u <user>|-A] [-S <socket_path>] <search query><br class=""> <span class="Apple-converted-space"> </span>auth         [-a <auth socket path>] [-x <auth info>] <user> [<password>]<br class=""> <span class="Apple-converted-space"> </span>config       [doveconf parameters]<br class=""> <span class="Apple-converted-space"> </span>director     add|flush|map|remove|status<br class=""> <span class="Apple-converted-space"> </span>dump         [-t <type>] <path><br class=""> <span class="Apple-converted-space"> </span>expunge      [-u <user>|-A] [-S <socket_path>] <search query><br class=""> <span class="Apple-converted-space"> </span>fetch        [-u <user>|-A] [-S <socket_path>] <fields> <search query><br class=""> <span class="Apple-converted-space"> </span>force-resync [-u <user>|-A] [-S <socket_path>] <mailbox><br class=""> <span class="Apple-converted-space"> </span>help         <cmd><br class=""> <span class="Apple-converted-space"> </span>import       [-u <user>|-A] [-S <socket_path>] <source mail location> <dest parent mailbox> <search query><br class=""> <span class="Apple-converted-space"> </span>kick         [-a <anvil socket path>] [-f] <user mask>[|]<ip/bits><br class=""> <span class="Apple-converted-space"> </span>log          find|reopen|test<br class=""> <span class="Apple-converted-space"> </span>mailbox      create|delete|list|mutf7|rename|status|subscribe|unsubscribe<br class=""> <span class="Apple-converted-space"> </span>penalty      [-a <anvil socket path>] [<ip/bits>]<br class=""> <span class="Apple-converted-space"> </span>purge        [-u <user>|-A] [-S <socket_path>]<br class=""> <span class="Apple-converted-space"> </span>pw           [-l] [-p plaintext] [-r rounds] [-s scheme] [-u user] [-V]<br class=""> <span class="Apple-converted-space"> </span>reload<br class=""> <span class="Apple-converted-space"> </span>search       [-u <user>|-A] [-S <socket_path>] <search query><br class=""> <span class="Apple-converted-space"> </span>sis          deduplicate|find<br class=""> <span class="Apple-converted-space"> </span>stop<br class=""> <span class="Apple-converted-space"> </span>user         [-a <userdb socket path>] [-x <auth info>] <user mask> [...]<br class=""> <span class="Apple-converted-space"> </span>who          [-a <anvil socket path>] [-1] [<user mask>] [<ip/bits>]<br class="">dsync-local(<a href="mailto:kishore@test.org.com" target="_blank" rel="noreferrer" class="">kishore@test.org.com</a>): Error: read(<a href="mailto:vmail@production1.baplc.com" target="_blank" rel="noreferrer" class="">vmail@production1.baplc.com</a>) failed: EOF (version not received)<br class="">dsync-local(<a href="mailto:kishore@test.org.com" target="_blank" rel="noreferrer" class="">kishore@test.org.com</a>): Error: Remote command returned error 1: ssh -lvmail<span class="Apple-converted-space"> </span><a href="http://production1.baplc.com/" target="_blank" rel="noreferrer" class="">production1.baplc.com</a><span class="Apple-converted-space"> </span>doveadm dsync-server -<a href="mailto:ukishore@test.org.com" target="_blank" rel="noreferrer" class="">ukishore@test.org.com</a><br class=""><br class="">[root@production2<span class="Apple-converted-space"> </span><a href="http://test.org.com/" target="_blank" rel="noreferrer" class="">test.org.com</a>]#<br class=""><br class="">=================================<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 10:55 PM Antonio Leding <<a href="mailto:tech@leding.net" target="_blank" rel="noreferrer" class="">tech@leding.net</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class="">Not sure if this matters but the prompt when attempting the “doveadm backup” command shows it to be a “production" server…<div class=""><br class=""></div><div class=""><pre style="white-space: pre-wrap; font-variant-ligatures: normal;" class="">[<a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank" rel="noreferrer" class="">root at production1</a> <a href="http://test.org.com/" target="_blank" rel="noreferrer" class="">test.org.com</a>]# doveadm backup -R -u <a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank" rel="noreferrer" class="">kishore at test.org.com</a>
remote:<a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank" rel="noreferrer" class="">vmail at production2.baplc.com</a></pre><div class=""><br class=""></div><div class="">...that would seem to me to indicate the old box.  If so, then per Kishore’s earlier posts, the machine where this is being attempted is running 2.0.9…not 2.2.36</div><div class=""><br class=""></div><div class="">Maybe nothing but thought I would mention it…</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jul 27, 2020, at 2:50 PM, Sami Ketola <<a href="mailto:sami.ketola@dovecot.fi" target="_blank" rel="noreferrer" class="">sami.ketola@dovecot.fi</a>> wrote:</div><br class=""><div class=""><div class=""><br class=""><br class=""><blockquote type="cite" class="">On 28. Jul 2020, at 0.10, Kishore Potnuru <<a href="mailto:kishore.reachme@gmail.com" target="_blank" rel="noreferrer" class="">kishore.reachme@gmail.com</a>> wrote:<br class=""><br class="">Yes. Please find the details of the servers below. I am executing the command from one of the new servers.<br class=""></blockquote><br class="">I find it very hard to believe this. Shall I look at the version control when backup was added as option to doveadm?<br class=""><br class="">2.2.36 has it:<br class=""><br class="">[root@ketola ~]# dovecot --version<br class="">2.2.36.8 (0c9d56b41)<br class="">[root@ketola ~]# doveadm backup<br class="">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>] [-t <start date>] -d|<dest><br class=""><br class=""><br class="">Sami</div></div></blockquote></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></div></body></html>