Conversion to mdbox
Hello,
I'm taking baby steps to convert my mailboxes from Maildir to mdbox in 11.60. One account conversion seems to have gone off without a hitch but I've got questions.
- I chose to keep the old mailbox files; however, since the conversion seems to be OK, how do I get rid of these files? Do I just delete the "storage" directories that were created in the mail directory?
- What do we have to know about creating and restoring from backups now? With Maildir, it was just a matter of restoring files to the mail directories, but what about with mdbox?
- How concerned should I be about corrupted indexes and the like? My understanding is that the indexes hold all of the important metadata (flags, message status), and that losing the index effectively loses all of that. Does the risk of losing email increase with mdbox?
Thanks for any help here!
Any help here? I've got a few gigs worth of old emails that are eating up too much space and I really need to clear them out.
-
Hello @fonginator, - I chose to keep the old mailbox files; however, since the conversion seems to be OK, how do I get rid of these files? Do I just delete the "storage" directories that were created in the mail directory?
The "--delete-old-format" flag is available as part of the conversion scripts to ensure the old files are removed after a successful conversion. It's documented at: The Mailbox Format Conversion Scripts - Documentation - cPanel Documentation- What do we have to know about creating and restoring from backups now? With Maildir, it was just a matter of restoring files to the mail directories, but what about with mdbox?
There's no native feature that will allow you to restore emails directly, but we have a feature request open that I encourage you to vote for at: Adjust restore account to use dsync However, aside from an official feature, you can use the0 -
Hello I did not did the conversion thru cli instead directly from whm where are the backups stored so I can delete them? Also I presume that if we make daily backups of our accounts there is no trouble in restoring everything from cpbackup? Regards 0 -
Hello I did not did the conversion thru cli instead directly from whm where are the backups stored so I can delete them?
Did you choose "Keep old mailbox files. This option maintains the old files in case of an error. You must remove these files manually." when converting the mailboxes via WHM? If so, here's a quote from our0
Please sign in to leave a comment.
Comments
3 comments