Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2007, 12:59 AM
Loyal Member
 
Posts: 94
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...
Reply With Quote
  #2 (permalink)  
Old 04-08-2007, 10:43 AM
Outstanding Member
 
Posts: 576
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?
Reply With Quote
  #3 (permalink)  
Old 04-10-2007, 11:57 AM
Junior Member
 
Posts: 7
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/
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0