I tried the backup again tonight. I am now getting a new error:
mail# doveadm backup -f -u doug remote:checkout dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Warning: Deleting mailbox 'INBOX': UID=92440 GUID=1465118975.V4eI7cfa32M232845.mail is missing locally dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Error: Couldn't delete mailbox INBOX: INBOX can't be deleted. dsync-local(doug)<N0q9NI0xtGf4vgAAZU03Dg>: Error: Remote command returned error 65: ssh checkout doveadm dsync-server -udoug -U
Anytime I run it now generates the same error messages. However on the backup machine the .cur directory is empty. I presume that is the INBOX referred to in the messages. All the other directories appear to be intact.
-- Doug
On Feb 17, 2025, at 23:11, Doug Hardie <doug@sermon-archive.info> wrote:
I tried the backup again tonight. I am now getting a new error:
mail# doveadm backup -f -u doug remote:checkout dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Warning: Deleting mailbox 'INBOX': UID=92440 GUID=1465118975.V4eI7cfa32M232845.mail is missing locally dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Error: Couldn't delete mailbox INBOX: INBOX can't be deleted. dsync-local(doug)<N0q9NI0xtGf4vgAAZU03Dg>: Error: Remote command returned error 65: ssh checkout doveadm dsync-server -udoug -U
Anytime I run it now generates the same error messages. However on the backup machine the .cur directory is empty. I presume that is the INBOX referred to in the messages. All the other directories appear to be intact.
Deleted the complete user on the backup machine. Then ran the backup again. As soon as it finished, I ran it again. Got a new error:
mail# doveadm backup -u doug remote:checkout mail# doveadm backup -u doug remote:checkout dsync-remote(doug)<Zkb1OeE+tGdk5AAA+dxtXQ>: Error: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted. dsync-local(doug)<gCdGIuE+tGfTwQAAZU03Dg>: Error: Remote command returned error 65: ssh checkout doveadm dsync-server -udoug -U
I am beginning to believe that backup is not a viable production option. I suspect rsync would be better.
-- Doug
My experience was very similar when I originally set up doveadm backup from my production machine to my backup machine. My mailbox was the only one on the system that failed. I discovered the root cause was a cron job running on the backup machine delivering its output to my email. The result was my inbox was out of sync. Perhaps you also have something on your backup machine that is altering the email.
-- also Doug
-----Original Message----- From: Doug Hardie via dovecot <dovecot@dovecot.org> Sent: Tuesday, February 18, 2025 3:11 AM To: Dovecot <dovecot@dovecot.org> Subject: Re: Doveadm Backup
On Feb 17, 2025, at 23:11, Doug Hardie <doug@sermon-archive.info> wrote:
I tried the backup again tonight. I am now getting a new error:
mail# doveadm backup -f -u doug remote:checkout dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Warning: Deleting mailbox 'INBOX': UID=92440 GUID=1465118975.V4eI7cfa32M232845.mail is missing locally dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Error: Couldn't delete mailbox INBOX: INBOX can't be deleted. dsync-local(doug)<N0q9NI0xtGf4vgAAZU03Dg>: Error: Remote command returned error 65: ssh checkout doveadm dsync-server -udoug -U
Anytime I run it now generates the same error messages. However on the backup machine the .cur directory is empty. I presume that is the INBOX referred to in the messages. All the other directories appear to be intact.
Deleted the complete user on the backup machine. Then ran the backup again. As soon as it finished, I ran it again. Got a new error:
mail# doveadm backup -u doug remote:checkout mail# doveadm backup -u doug remote:checkout dsync-remote(doug)<Zkb1OeE+tGdk5AAA+dxtXQ>: Error: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted. dsync-local(doug)<gCdGIuE+tGfTwQAAZU03Dg>: Error: Remote command returned error 65: ssh checkout doveadm dsync-server -udoug -U
I am beginning to believe that backup is not a viable production option. I suspect rsync would be better.
-- Doug
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
On Feb 18, 2025, at 05:59, Doug via dovecot <dovecot@dovecot.org> wrote:
My experience was very similar when I originally set up doveadm backup from my production machine to my backup machine. My mailbox was the only one on the system that failed. I discovered the root cause was a cron job running on the backup machine delivering its output to my email. The result was my inbox was out of sync. Perhaps you also have something on your backup machine that is altering the email.
-- also Doug
Good catch. That was the problem. Interestingly enough, the new emails from cron were in the new directory, not cur. Doveadm was trying to delete cur which obviously didn't fix the problem. Deleting the contents of new then let the backup work properly. I'm not sure my fix to crontab will completely eliminate those email, but at least I know what the problem is and can eventually eliminate it. Thanks
-- Doug (good name)
participants (2)
-
cdm567@yahoo.com
-
Doug Hardie