"doveadm backup" doesn't work anymore after upgrading to 2.2.18
Until today I could do this to backup my primary IMAP4 server:
""" doveadm backup ssh csi doveadm dsync-server """
It doesn't work anymore after upgrading to Dovecot 2.2.18:
""" jcea@ubuntu:~$ doveadm backup ssh csi doveadm dsync-server Enter passphrase for key '/home/jcea/.ssh/id_rsa': dsync-remote(root): Error: Mailbox INBOX: Failed to get attribute vendor/vendor.dovecot/pvt/server/sieve/default: Mailbox attributes not enabled dsync-local(jcea): Error: Remote command returned error 65: ssh csi doveadm dsync-server dsync-server """
The first error is regular business: I don't have SIEVE in the backup, since it is a backup. I have seen this error forever, no consequences.
Now in 2.2.18 I get the second error and the backup is aborted. It doesn't work anymore.
I don't find any reference to error 65 anywhere.
-- Jesús Cea Avión _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
On 5/19/15 6:19 AM, Jesus Cea wrote:
dsync-local(jcea): Error: Remote command returned error 65: ssh csi doveadm dsync-server dsync-server """
Now in 2.2.18 I get the second error and the backup is aborted. It doesn't work anymore.
I don't find any reference to error 65 anywhere.
Error 65 is likely the SSH process exit code. Pages like this suggest it's "Host Not Allowed To Connect":
http://support.attachmate.com/techdocs/2285.html
If you haven't already done so, check that running the same SSH command manually ("ssh csi" and variations) works.
-- Robert L Mathews, Tiger Technologies, http://www.tigertech.net/
On 20/05/15 21:53, Robert L Mathews wrote:
On 5/19/15 6:19 AM, Jesus Cea wrote:
dsync-local(jcea): Error: Remote command returned error 65: ssh csi doveadm dsync-server dsync-server """
Now in 2.2.18 I get the second error and the backup is aborted. It doesn't work anymore.
I don't find any reference to error 65 anywhere.
Error 65 is likely the SSH process exit code. Pages like this suggest it's "Host Not Allowed To Connect":
It is not a SSH error because to get the first error (the sieve related one) "doveadm" already connected to the remote backup server via SSH.
I have installed & configured sieve in the backup server, with an empty filter set. I can now do the backup correctly.
Interestingly if I disable the sieve plugin in the backup server, the backup keeps working. WTF!
My guess is that sieve has set the "vendor/vendor.dovecot/pvt/server/sieve/default" attribute in the mailbox and the backup process is happy now, even if I disable sieve after the fact.
I consider this issue closed but it would be nice to be documented somewhere. Thanks.
-- Jesús Cea Avión _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
participants (2)
-
Jesus Cea
-
Robert L Mathews