<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="">Fair enough but the command snippet I posted was taken directly from your earlier post dated <i style="font-variant-ligatures: normal; orphans: 2; widows: 2;" 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><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" class="">kishore.reachme@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><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 old version is:<br class="">====================<br class="">[root@production2 ~]# dovecot --version<br class="">2.2.36 (1f10bfa63)<br class=""><br class=""><br class="">The New 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><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" class="">tech@leding.net</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" 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" class="">root at production1</a> <a href="http://test.org.com/" target="_blank" class="">test.org.com</a>]# doveadm backup -R -u <a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank" class="">kishore at test.org.com</a>
remote:<a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank" 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" 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" 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<br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></body></html>