The intended way to restore stuff is to either restore the entire dbox to a temp directory, or at least all the important parts of it (indexes + the files that contain the wanted mails) and then use something like:
doveadm import sdbox:/tmp/restoredbox "" savedsince 2011-01-01
Thank you for your response, Timo. That was the answer I was
looking for. The above example is for sdbox, mdbox should be exactly the same, am I right?
- The previous question applies to sdbox and mdbox. In the case of mdbox, we can configure rotation of files using /mdbox_rotate_size/ . We would like to rotate daily, not based in size (our users ask us for yesterday's backup). How can we accomplish this?
mdbox_rotate_interval = 1d
Any known issues with mdbox and zlib plugin in lda & imap? I have
read about mbox is /"read-only"/ with zlib plugin. What about mdbox with a high rotate interval (almost a mbox)? How does this work? Is the entire mdbox file loaded into ram and decompressed or a temp file in the filesystem is used?
Another question: any hint about the "hot spot" of size for
/mdbox_rotate_interval/?
We have now 17.000.000 messages in our maildir, almost 1.5 TB (zlib compresssion enabled). Our backup time with bacula is rather bad: 24 hours for a full backup, most of the time the backup is busy fstat'ing all those little messages.
In case of Maildir there's no point in fstating any mail files. I'd guess it should be possible to patch bacula to not do that.
Good idea. I will write to bacula folks about that.
We think that mdbox can help us in this. Does anybody has good experiences migrating from maildir->mdox in "large" enviroments? What about mdox performance& reliability? I haven't recently heard of corruption complaints about mdbox.. Previously when there were those, I didn't hear of complains about losing mails or anything, so that's good :)
Any additional comments about this? We are seriously thinking about
migrating to mdbox, but is always scary "to be the first one"
Thank you for your support
Regards
Javier