<div dir="ltr">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><br><br>The old version is:<br>====================<br>[root@production2 ~]# dovecot --version<br>2.2.36 (1f10bfa63)<br><br><br>The New version is : <br>======================<br>[root@production1 ~]# dovecot --version<br>2.0.9<br><br><br>I have executed the command from the new server:<br><br><br><br>=================================<br>[root@production2 <a href="http://test.org.com">test.org.com</a>]# doveadm backup -R -u <a href="mailto:kishore@test.org.com">kishore@test.org.com</a> <a href="mailto:remote%3Avmail@production1.baplc.com">remote:vmail@production1.baplc.com</a><br><a href="mailto:vmail@production1.baplc.com">vmail@production1.baplc.com</a>'s password:<br>usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]<br><br> altmove [-u <user>|-A] [-S <socket_path>] <search query><br> auth [-a <auth socket path>] [-x <auth info>] <user> [<password>]<br> config [doveconf parameters]<br> director add|flush|map|remove|status<br> dump [-t <type>] <path><br> expunge [-u <user>|-A] [-S <socket_path>] <search query><br> fetch [-u <user>|-A] [-S <socket_path>] <fields> <search query><br> force-resync [-u <user>|-A] [-S <socket_path>] <mailbox><br> help <cmd><br> import [-u <user>|-A] [-S <socket_path>] <source mail location> <dest parent mailbox> <search query><br> kick [-a <anvil socket path>] [-f] <user mask>[|]<ip/bits><br> log find|reopen|test<br> mailbox create|delete|list|mutf7|rename|status|subscribe|unsubscribe<br> penalty [-a <anvil socket path>] [<ip/bits>]<br> purge [-u <user>|-A] [-S <socket_path>]<br> pw [-l] [-p plaintext] [-r rounds] [-s scheme] [-u user] [-V]<br> reload<br> search [-u <user>|-A] [-S <socket_path>] <search query><br> sis deduplicate|find<br> stop<br> user [-a <userdb socket path>] [-x <auth info>] <user mask> [...]<br> who [-a <anvil socket path>] [-1] [<user mask>] [<ip/bits>]<br>dsync-local(<a href="mailto:kishore@test.org.com">kishore@test.org.com</a>): Error: read(<a href="mailto:vmail@production1.baplc.com">vmail@production1.baplc.com</a>) failed: EOF (version not received)<br>dsync-local(<a href="mailto:kishore@test.org.com">kishore@test.org.com</a>): Error: Remote command returned error 1: ssh -lvmail <a href="http://production1.baplc.com">production1.baplc.com</a> doveadm dsync-server -<a href="mailto:ukishore@test.org.com">ukishore@test.org.com</a><br><br>[root@production2 <a href="http://test.org.com">test.org.com</a>]#<br><br>=================================<br></div></div><br><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">tech@leding.net</a>> wrote:<br></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;">Not sure if this matters but the prompt when attempting the “doveadm backup” command shows it to be a “production" server…<div><br></div><div><pre style="white-space:pre-wrap;font-variant-ligatures:normal">[<a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank">root at production1</a> <a href="http://test.org.com" target="_blank">test.org.com</a>]# doveadm backup -R -u <a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank">kishore at test.org.com</a>
remote:<a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank">vmail at production2.baplc.com</a></pre><div><br></div><div>...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><br></div><div>Maybe nothing but thought I would mention it…</div><div><br></div><div><br></div><div><br><div><br><blockquote type="cite"><div>On Jul 27, 2020, at 2:50 PM, Sami Ketola <<a href="mailto:sami.ketola@dovecot.fi" target="_blank">sami.ketola@dovecot.fi</a>> wrote:</div><br><div><div><br><br><blockquote type="cite">On 28. Jul 2020, at 0.10, Kishore Potnuru <<a href="mailto:kishore.reachme@gmail.com" target="_blank">kishore.reachme@gmail.com</a>> wrote:<br><br>Yes. Please find the details of the servers below. I am executing the command from one of the new servers.<br></blockquote><br>I find it very hard to believe this. Shall I look at the version control when backup was added as option to doveadm?<br><br>2.2.36 has it:<br><br>[root@ketola ~]# dovecot --version<br>2.2.36.8 (0c9d56b41)<br>[root@ketola ~]# doveadm backup<br>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><br><br>Sami<br><br><br></div></div></blockquote></div><br></div></div></div></blockquote></div>