Results 1 to 3 of 3

Thread: Zimbra 8 (OSE) Backup

  1. #1
    cjm51213 is offline Active Member
    Join Date
    Aug 2012
    Posts
    40
    Rep Power
    3

    Default Zimbra 8 (OSE) Backup

    Hi Folks,

    The examples I see all suggest that I need to backup the entire /opt/zimbra/... directory tree. This seems excessive. Is there a sensible subset?

    Thanks for the help,

    Chris.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Quote Originally Posted by cjm51213 View Post
    The examples I see all suggest that I need to backup the entire /opt/zimbra/... directory tree.
    That's correct.

    Quote Originally Posted by cjm51213 View Post
    This seems excessive. Is there a sensible subset?
    No.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    sigtrap is offline New Member
    Join Date
    Oct 2010
    Posts
    3
    Rep Power
    4

    Default

    Quote Originally Posted by phoenix View Post
    That's correct.

    No.
    I also want to do full backups after upgrading to zimbra 8 (zcs 8).
    All the scripts I find only do a "cp -rp" or similar and as ldap database is 85Gig it becomes messy
    I still want to do a full backup (including ldap) but not the ldap database file.

    So, If none has a free or open source suggestion I will probably write one myself that will do (not a script, just a process description):
    (set up checks)
    /opt/zimbra/libexec/zmslapcat /opt/zimbra/ldapbackup
    /opt/zimbra/libexec/zmslapcat -c /opt/zimbra/ldapbackup
    (set up checks)
    su - zimbra -c '$zimbra/bin/zmcontrol stop'
    (set up checks)
    tar -cf /backupdir/zimbra.date.tar /opt/zimbra --exclude 'data/ldap/mdb/db'
    (set up checks)
    su - zimbra -c '$zimbra/bin/zmcontrol start'
    (set up checks)
    (log and mail log)
    (set up checks)

    Instead of tar I may use "cp -rp [!something]" or "rsync --exclude 'data/ldap/mdb/db'" or something...
    Any suggestions?
    //Sigtrap

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 09-22-2011, 01:44 AM
  2. Replies: 1
    Last Post: 04-19-2011, 02:34 AM
  3. Replies: 0
    Last Post: 04-14-2010, 04:15 PM
  4. Replies: 1
    Last Post: 11-09-2009, 10:35 AM
  5. Replies: 0
    Last Post: 01-04-2008, 01: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
  •