<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="">Also, FWIW...your doveadm command is missing quite a few options…here is mine…<div class=""><br class=""></div><div class=""><div class="">[Jul-27 @ 15:11:57] > dovecot —version</div><div class="">2.3.10.1 (a3d0e1171)</div><div class=""><br class=""></div><div class=""><div class="">[Jul-27 @ 15:22:39] > ls -l /usr/bin/doveadm</div><div class="">-rwxr-xr-x. 1 root root 2949584 May 19 02:09 /usr/bin/doveadm</div></div><div class=""><br class=""></div><div class="">[Jul-27 @ 15:21:31] > 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|login|lookup|test</div><div class=""> 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></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=""> deduplicate [-u <user>|-A] [-S <socket_path>] [-m] <search query></div><div class=""> dict get|inc|iter|set|unset</div><div class=""> director add|down|dump|flush|kick|map|move|remove|ring|status|up|update</div><div class=""> dump [-t <type>] <path></div><div class=""> exec <binary> [binary parameters]</div><div class=""> expunge [-u <user>|-A] [-S <socket_path>] [-m] <search query></div><div class=""> fetch [-u <user>|-A] [-S <socket_path>] <fields> <search query></div><div class=""> flags add|remove|replace</div><div class=""> force-resync [-u <user>|-A] [-S <socket_path>] [-f] <mailbox mask></div><div class=""> fs copy|delete|get|iter|iter-dirs|metadata|put|stat</div><div class=""> help <cmd></div><div class=""> import [-u <user>|-A] [-S <socket_path>] [-U source-user] [-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>] <user mask>[|]<ip/bits></div><div class=""> log errors|find|reopen|test</div><div class=""> mailbox cache|cache|create|delete|list|metadata|mutf7|path|rename|status|subscribe|unsubscribe|update</div><div class=""> move [-u <user>|-A] [-S <socket_path>] <destination> [user <source user>] <search query></div><div class=""> oldstats dump|reset|top</div><div class=""> penalty [-a <anvil socket path>] [<ip/bits>]</div><div class=""> process status</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=""> rebuild attachments</div><div class=""> reload</div><div class=""> replicator add|dsync-status|remove|replicate|status</div><div class=""> save [-u <user>|-A] [-S <socket_path>] [-m mailbox]</div><div class=""> search [-u <user>|-A] [-S <socket_path>] <search query></div><div class=""> service status|stop</div><div class=""> sieve activate|deactivate|delete|get|list|put|rename</div><div class=""> sis deduplicate|find</div><div class=""> stats dump</div><div class=""> stop</div><div class=""> sync [-u <user>|-A] [-S <socket_path>] [-1fPRU] [-l <secs>] [-r <rawlog path>] [-m <mailbox>] [-g <mailbox_guid>] [-n <namespace> | -N] [-x <exclude>] [-s <state>] [-t <start date>] -d|<dest></div><div class=""> user [-a <userdb socket path>] [-x <auth info>] [-f field] [-e <value>] [-u] <user mask> [...]</div><div class=""> who [-a <anvil socket path>] [-1] [<user mask>] [<ip/bits>]</div><div class=""> zlibconnect <host> [<port>]</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 27, 2020, at 3:18 PM, Antonio Leding <<a href="mailto:tech@leding.net" class="">tech@leding.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div 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 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" 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></div></div></blockquote></div><br class=""></div></body></html>