Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-06-2006, 01:25 PM
Intermediate Member
 
Posts: 20
Default rebuilding mysql data

we had a bit of a snaffu with our zimbra server. now all of the mysql mailbox information is gone. but everything in the "store" directory still exists. is there a way to rebuild the mysql databases so we dont loose any messages?
Reply With Quote
  #2 (permalink)  
Old 12-06-2006, 02:23 PM
Zimbra Employee
 
Posts: 1,434
Default zmlmtpinject

Quote:
Originally Posted by cangeceiro View Post
we had a bit of a snaffu with our zimbra server. now all of the mysql mailbox information is gone. but everything in the "store" directory still exists. is there a way to rebuild the mysql databases so we dont loose any messages?
Do you have backups? Restoring from backups would solve your problems.

If no backups, you can still add those messages to the mailstore using zmlmtpinject. Each subdirectory of /opt/zimbra/store/0 is a single user's mailbox. Determine which user owns each such subdirectory, then use zmlmtpinject to inject every message under /opt/zimbra/store/0/<id>/msg.

Note that you'll lose all your folders, tags, contacts, appointments, etc, but something's better than nothing.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.