Results 1 to 2 of 2

Thread: Total crash & data loss of zimbra (human factor)

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Posts
    1
    Rep Power
    9

    Default Total crash & data loss of zimbra (human factor)

    Hello ;(
    I have lost all data from db/ databases. I lost ibdata file from mysql, and cause of that, can't read any database in db/data directory. I can't do file undelete, any more. It was too late for that, when I find out what happened.

    I have some old beckap, and I can recover almost complet 'zimbra' database, but I am still losing all mails (cause their infos are in mailbox databases) and about 100 mailboxes.
    Is there any way I can manualy recover them? (it's not a problem for me to write some scripts to automate process)

    ;( ;( ;( ;(

    Thank you
    Aleksandar

  2. #2
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default You *can* recover the mail...

    If the /opt/store directories are still there, you can get the mailbox id for each user using LDAP and the ZIMBRA.MAILBOX table. Then, for each user,
    1. Find their store directory (should be /opt/zimbra/store/0/<mbox id>/msg)
    2. Use zmlmtpinject to add all messages in subfolders beneath that directory to the correct user's mailbox

    You'll lose contacts (etc.) and the messages will be dated as received today, but it'll work.

    If you have further script-fu, before calling zmlmtpinject you can edit all the messages to have an X-Zimbra-Received header identical to the message's Date header, and the messages will be added as if they were received on the sent date rather than today.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Removing hostname from hosts file fixed prob.
    By lemur in forum Installation
    Replies: 10
    Last Post: 06-13-2007, 07:29 PM
  2. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  3. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 12:59 PM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 05:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •