Hi all,
it happened that somehow a number of emails vanish from my mailbox. I
couldn't figure out why these random mails that are from different
folders and not even close to being temporally connected have
disappeared at once.
Anyway, fortunately, I have a rolling replication backup and I found
these missing mails in the corresponding chunks.
Usually, I restore them using cyr_restore $imapserver $user $guid.
I was a bit surprised that this no longer worked while the backup server
was running, I got "Mailbox is locked" instead. So I stopped the imapd
process and tried again. Now all I get is "Unknown code ____ 255".
Playing around with "-M user.$user.anotherfolder" or "-U" gave the same
results.
All I could do is to dump the chunks, parse them using
awk/sed/perl/whatever and then try to re-inject them into the master's
filesystem.
This quite bugs me.
Now I've read that the backup and restore feature is deprecated and will
be removed in 3.10.
So my question is: What's the currently preferred mechanism of doing
realtime backups and restoring mails, and how to use it?
I'm using cyrus-imapd 3.8.4, fwiw.
Thanks & regards,
Phil
------------------------------------------
Cyrus: Devel
Permalink:
https://cyrus.topicbox.com/groups/devel/T7007e3655f3b96c8-Me1f43a8454529dda7c4185be
Delivery options: https://cyrus.topicbox.com/groups/devel/subscription