Results 1 to 2 of 2

Thread: What to backup

  1. #1
    Join Date
    Mar 2008
    Palma, Majorca, Balearic Islands, Spain
    Rep Power

    Default What to backup

    Hello everyone.

    I know that the topic of backing up the Open Source Edition of Zimbra has been discussed several times, but I'd like to give it a different approach rather than backup up the whole /opt/zimbra directory.

    What I'd like to know is what to backup and where it is stored, despite of whether I would/could do a hot or cold backup (it does not worry me at the moment).

    So far, I think that this is what I need to backup:

    • LDAP directory, located at /opt/zimbra/openldap-data. Could use /opt/zimbra/libexec/zmslapcat to back it up.
    • Mailboxes, located at /opt/zimbra/store. Could stop the Zimbra Store and copy the contents, then start the Zimbra Store again.
    • MySQL with configuration data. Could dump the contents of the MySQL database inside /opt/zimbra/db/data using mysqldump.

    Now first question is whether I am missing something else (apart from the logs and the statistics, which I would not be backing up). I know the backup would not be perfect, but provided that I stop Zimbra Store, it should be quite coherent, shouldn't it? Also, I don't mind about the mails in the Postfix queue: they will eventually be delivered and backup up the next time.

    And second question is about restoring. If:

    1. I install a Zimbra from scratch in a similar or exact way as it was originally.
    2. Restore the LDAP data
    3. Restore the MySQL database
    4. Copy the mailboxes to /opt/zimbra/store

    Is there any "check and regenerate" script (or set of) that I could call in order to get things back to where they were?

    I mean, it's not perfect, I know. But for that I have my customer, which pay for the Network Edition. I just want a reasonable backup for my personal mail.

    Jaume Sabater

    "Ubi sapientas ibi libertas"

  2. #2
    Join Date
    Feb 2009
    Rep Power


    Many thanks for this post, really help full.
    I would like to ask the following?
    1- I have taken the backup of my LDAP ./zmslapcat /backup, now how can I restore it .
    2- Can you please help me with the below post, regarding mysql ?


Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. Per User Backup for FOSS edition
    By fdsadmin in forum Developers
    Replies: 33
    Last Post: 03-14-2013, 09:16 AM
  3. Keeping a backup server synced with live server
    By Q-Mike in forum Administrators
    Replies: 5
    Last Post: 04-11-2008, 01:40 PM
  4. FYI: ZCS NE backup to fuse/sshfs mount, worked.
    By jagipson in forum Administrators
    Replies: 0
    Last Post: 09-28-2007, 06:37 AM
  5. NE Backup best practises
    By Klug in forum Administrators
    Replies: 3
    Last Post: 05-29-2006, 08:32 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