Results 1 to 3 of 3

Thread: Zimbra data files

  1. #1
    Join Date
    Jun 2012
    Posts
    7
    Rep Power
    3

    Default Zimbra data files

    Hello.
    I ran into a huge problem with file system and my fsck killed everything, but I managed to find zimbra files in lost+found.
    I've Installed a new ubuntu 12 with zimbra on it, and all i need to know is what data files should I move in it from lost+found to have my mail, briefcase, settings, etc. back ?

  2. #2
    Join Date
    Jul 2007
    Posts
    343
    Rep Power
    8

    Default

    Could you provide details like what zimbra version are you using and what steps landed you in this problem and what you are trying to achieve.
    ~=Prashant=~

  3. #3
    Join Date
    Jun 2012
    Posts
    7
    Rep Power
    3

    Default

    Already solved.
    So the problem was with the /opt/zimbra/data/ldap/mdb/db/data.mdb file, as I could get its sparse file.
    ls -lh /opt/zimbra/data/ldap/mdb/db/data.mdb gives 80G
    du -sh /opt/zimbra/data/ldap/mdb/db/data.mdb gives 744K
    The problem caused rsync, when it was trying to copy this file to the same file system which hadn't spare 80G on it.
    So now to safely backup zimbra with rsync first you need to:
    cp --sparse=always /opt/zimbra/data/ldap/mdb/db/data.mdb /opt/zimbra.bak/zimbra/data/ldap/mdb/db/
    and after the sparse data.mdb file was created in backup you can call:
    rsync -aSHK --delete /opt/zimbra /opt/zimbra.bak
    This will make rsync sync only 744K but not 80G.

    About restoring backup from zimbra 8.0.0 on ubuntu 10.04 to ubuntu 12.04:
    1. Install and prepare system
    2. Download fresh zimbra for ubuntu 12.04
    3. Install zimbra
    4. Delete or rename /opt/zimbra
    5. Move your backup to /opt/zimbra
    6. Run zimbra install again to update bins, libs, etc...

    Hope this helps if anyone will have similar problems.

Similar Threads

  1. complete data loss due to corrupted LDAP BDB files?
    By atseog in forum Administrators
    Replies: 2
    Last Post: 04-08-2014, 03:33 AM
  2. Replies: 0
    Last Post: 01-05-2012, 02:48 PM
  3. Replies: 1
    Last Post: 12-09-2010, 07:09 AM
  4. Zimbra offlline Data Files
    By tellis in forum CalDAV / CardDAV / iSync
    Replies: 0
    Last Post: 12-26-2008, 01:21 PM
  5. Where does zimbra store it's data files?
    By linc in forum Administrators
    Replies: 2
    Last Post: 10-15-2008, 08:35 AM

Posting Permissions

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