<div dir="auto">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"><br></div><div dir="auto"><blockquote style="font-family:sans-serif"><div><div dir="ltr"><div>The new version is:<br>====================<br>[root@production2 ~]# dovecot --version<br>2.2.36 (1f10bfa63)<br><br><br>The old 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></div></blockquote><br><br><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">tech@leding.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Fair enough but the command snippet I posted was taken directly from your earlier post dated <i style="font-variant-ligatures:normal">Mon Jul 27 23:11:06 EEST 2020</i> and it does say “production1”…I just double-checked as well...<div><br></div><div>FWIW…the server order in the command you just pasted is the exact reverse from the Jul 27th post I mentioned above…</div><div><br></div><div>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><br></div><div><br><div><br></div><div><br></div><div><br><div><br><blockquote type="cite"><div>On Jul 27, 2020, at 3:10 PM, Kishore Potnuru <<a href="mailto:kishore.reachme@gmail.com" target="_blank" rel="noreferrer">kishore.reachme@gmail.com</a>> wrote:</div><br><div><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 new version is:<br>====================<br>[root@production2 ~]# dovecot --version<br>2.2.36 (1f10bfa63)<br><br><br>The old 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/" target="_blank" rel="noreferrer">test.org.com</a>]# doveadm backup -R -u <a href="mailto:kishore@test.org.com" target="_blank" rel="noreferrer">kishore@test.org.com</a> <a href="mailto:remote%3Avmail@production1.baplc.com" target="_blank" rel="noreferrer">remote:vmail@production1.baplc.com</a><br><a href="mailto:vmail@production1.baplc.com" target="_blank" rel="noreferrer">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" target="_blank" rel="noreferrer">kishore@test.org.com</a>): Error: read(<a href="mailto:vmail@production1.baplc.com" target="_blank" rel="noreferrer">vmail@production1.baplc.com</a>) failed: EOF (version not received)<br>dsync-local(<a href="mailto:kishore@test.org.com" target="_blank" rel="noreferrer">kishore@test.org.com</a>): Error: Remote command returned error 1: ssh -lvmail <a href="http://production1.baplc.com/" target="_blank" rel="noreferrer">production1.baplc.com</a> doveadm dsync-server -<a href="mailto:ukishore@test.org.com" target="_blank" rel="noreferrer">ukishore@test.org.com</a><br><br>[root@production2 <a href="http://test.org.com/" target="_blank" rel="noreferrer">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" target="_blank" rel="noreferrer">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>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" rel="noreferrer">root at production1</a> <a href="http://test.org.com/" target="_blank" rel="noreferrer">test.org.com</a>]# doveadm backup -R -u <a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank" rel="noreferrer">kishore at test.org.com</a>
remote:<a href="https://dovecot.org/mailman/listinfo/dovecot" target="_blank" rel="noreferrer">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" rel="noreferrer">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" rel="noreferrer">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>
</div></blockquote></div><br><br></div></div></div></blockquote></div></div></div>