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.
The old version is:
[root@production2 ~]# dovecot --version 2.2.36 (1f10bfa63)
The New version is :
[root@production1 ~]# dovecot --version 2.0.9
I have executed the command from the new server:
================================= [root@production2 test.org.com]# doveadm backup -R -u kishore@test.org.com remote:vmail@production1.baplc.com vmail@production1.baplc.com's password: usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]
altmove [-u <user>|-A] [-S
[root@production2 test.org.com]#
=================================
On Mon, Jul 27, 2020 at 10:55 PM Antonio Leding tech@leding.net wrote:
Not sure if this matters but the prompt when attempting the “doveadm backup” command shows it to be a “production" server…
[root at production1 https://dovecot.org/mailman/listinfo/dovecot test.org.com]# doveadm backup -R -u kishore at test.org.com https://dovecot.org/mailman/listinfo/dovecot remote:vmail at production2.baplc.com https://dovecot.org/mailman/listinfo/dovecot
...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
Maybe nothing but thought I would mention it…
On Jul 27, 2020, at 2:50 PM, Sami Ketola sami.ketola@dovecot.fi wrote:
On 28. Jul 2020, at 0.10, Kishore Potnuru kishore.reachme@gmail.com wrote:
Yes. Please find the details of the servers below. I am executing the command from one of the new servers.
I find it very hard to believe this. Shall I look at the version control when backup was added as option to doveadm?
2.2.36 has it:
[root@ketola ~]# dovecot --version 2.2.36.8 (0c9d56b41) [root@ketola ~]# doveadm backup doveadm backup [-u <user>|-A] [-S
] [-fPRU] [-l <secs>] [-r <rawlog path>] [-m <mailbox>] [-g ] [-n <namespace> | -N] [-x <exclude>] [-s <state>] [-t <start date>] -d|<dest> Sami