Zimbra OSE backup script
Tuesday, June 10th, 20082010-06-13
From now on this backup script is part of oSource Development and thus will not be updated here. See oSource Development for further details. Visit oSource Development here…
This script will do various backups of Zimbra depending on which you choose, most of them are cold backups except the message backup which hot copies the store folder for possible individual mail retrieval later on.
Due to the size of the script it is attached as a file to this post.
There are some options in the script that should be changed before running it, below are these rows with a short explanation on what they are for. The ZimInstPath should point to the installation directory of Zimbra excluding the Zimbra folder. The ZimHome should say Zimbra unless you changed default home folder of Zimbra. Finally the two last variables ZimBackupPath & ZimTempPath should point to where you want this script to put the backup files, these can be separated from each other if it is needed but i recommend not to do it.
Important: As being pointed out on some systems the rsync isn’t installed by default and rsync is highly used in the script and thus needs to be installed.
Download here: ZimBackup.sh
2008-06-10:
Help inside the script for configuration options.
Logging capability, now you can log your backup either with minimal information or in a verbose mode that throws pretty much anything into the log useful for when trying to find backup problems.

