Results 1 to 3 of 3

Thread: DDT backup strategies for 4.5 NE

  1. #1
    su_A_ve is offline Advanced Member
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default DDT backup strategies for 4.5 NE

    I'm trying to figure out what is the best approach to backup, zimbra's backup...

    We use Tivoli in a Disk to Disk to Tape. We are trying to backup only the /opt/zimbra/backup tree, but are having issues with:

    * each backup creates a new directory
    * way too many files, and the backup server has a hard time indexing new files
    * after a month, backups get deleted from zimbra, and we have more issues with un-indexing

    How are you guys handling this ? If I would just ignore zimbra's backup, and 'do it myself' what should we backup and how about restoring ?

    Of course, we want to do this 'online' and not 'offline'...

    TIA...

  2. #2
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    719
    Rep Power
    9

    Default

    "Me too." This thread is unanswered; what did you end up with on your own?

    Our enterprise backups are done with Networker, but the concepts are the same.

    So far, my strategy looks like:

    Never back up the following at all:

    db/data
    index
    store (also skip any other primary/secondary volumes)

    /opt/zimbra/redolog is on its own pair of spindles for speed and isolation. It gets backed up along with the rest of the system. Yeah, redundant, but also very important to retain.

    /opt/zimbra/backup lives on the other end of a 5km fibre channel link. So we have "immediate" offsite backups. I've modified zimbra's crontab to include:

    Code:
    0 1 * * 6 /opt/zimbra/bin/zmbackup -f -a all && /opt/zimbra/networker-backup.sh full
    0 1 * * 0-5 /opt/zimbra/bin/zmbackup -i -a all && /opt/zimbra/networker-backup.sh incr
    It would be nice if Zimbra had a supported hook for "post-backup commands" so that you could push to tape immediately upon completion of zmbackup. I'll write up an RFE. Fo now, I think it's slightly more maintainable to alter crontab (thereby screwing up the output of zmschedulebackup) than to edit zmbackup itself.

    And the networker-backup.sh script reads:

    Code:
    #!/bin/sh
    # Call with argument either "incr" or "full"
    nice save -q -l $* -s nwserver -g EmailGroup -b Email -e '+14 day' -S -i /opt/zimbra/backup 2>&1 | egrep -v '^save:/opt/zimbra/backup.*level=.*files|lost.found/: Permission denied'
    networkerisms:

    -g Mark this backup a member of that group
    -b Send backup to this tape pool -- by default, our backups go to offsite disk and are cloned to tape, but in the case of Zimbra that's already been done for us, so we only make one copy to tape
    -S Do not store index entries for this saveset, allowing only restores of the whole blob. This speeds things up and saves index space/complexity on the backup server. Your backup system probably has some analogous option.

    And finally, with the exception of the directories named above, the entire system gets backed up like any other.

    Comments?

  3. #3
    rholbert is offline Junior Member
    Join Date
    Apr 2006
    Posts
    7
    Rep Power
    9

    Default Using Rsnapshot

    We are currently using rsnapshot to backup our zimbra server.

    The entry in /etc/rsnapshot.conf looks something like this:

    Code:
    # MAILSERVER
    backup  root@mailserver:/boot/                                       mailserver/
    backup  root@mailserver:/home/                                       mailserver/
    backup  root@mailserver:/var/                                        mailserver/
    backup  root@mailserver:/etc/                                        mailserver/
    backup  root@mailserver:/usr/local/                                  mailserver/
    backup  root@mailserver:/root/                                       mailserver/
    backup  root@mailserver:/opt/zimbra/backup/                          mailserver/
    backup  root@mailserver:/opt/zimbra/redolog/                         mailserver/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. Backup best practice
    By Eyfi in forum Administrators
    Replies: 2
    Last Post: 06-29-2007, 07:52 AM
  3. Off-site backup
    By jbareMACS in forum Administrators
    Replies: 3
    Last Post: 05-20-2007, 10:32 AM
  4. Backup problem
    By flums in forum Administrators
    Replies: 2
    Last Post: 04-30-2007, 04:34 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
  •