Subversion Repositories oZimbraBackup

Compare Revisions

Ignore whitespace Rev 2 → Rev 3

/trunk/changelog.txt
1,3 → 1,13
2014-05-18 Marcus Uddenhed <marcus@osource.se>
 
* oZimbraBackup.sh (core): Changed information regarding contact ways.
 
* readme.txt (text): Changed information regarding contact ways.
 
2012-09-30 Marcus Uddenhed <marcus@osource.se>
 
* oZimbraBackup.sh (core): Added an option to temporarily disable off-site file transfer with "--no-send" parameter.
 
2012-01-02 Marcus Uddenhed <marcus@osource.se>
 
* oZimbraBackup.sh (Logging): Added logging for file transfer in simple log mode.
/trunk/license.txt
1,4 → 1,4
Copyright (c) 2011, oSource Development
Copyright (c) 2014, oSource Development
 
All rights reserved.
 
/trunk/oZimbraBackup.sh
1,5 → 1,6
#!/bin/bash
 
#
# This script will do various backups of Zimbra depending on which you choose,
# most of them are cold backups except the msg backup which hot copies the 'store'
# folder for possible individual mail retrieval. Be sure to change the variables below
22,8 → 23,9
#
# Developer: oSource Development(as of 2009-07-01)
# DevTeam: Marcus Uddenhed
# Version: 1.0.5
# Last updated: 2012-01-02 23:15
# Version: 1.0.6
# Updated: 2014-05-18 16:00
#
 
#### Global Settings ####
ZimInstPath=/opt # Installation path for Zimbra, excluding the Zimbra folder.
316,6 → 318,12
# Transfer with ftp
if [ $ZimFtpEnable == "yes" ]
then
if [ "$2" = "--no-send" ]
then
# If --no-send is set ignore sending file to off site.
echo "`date "+%Y-%m-%d %H:%M:%S"` - Backup not sending backup file to external storage, --no-send is set." >> $ZimLogFile
echo "Not sending backup to external storage, --no-send is set."
else
if [ $ZimLogEnable = 'yes' ] && [ $ZimLogVerbose = 'yes' ]
then
# Send task start time to log
382,10 → 390,17
 
fi
fi
fi
 
# Transfer with scp
if [ $ZimScpEnable == "yes" ]
then
if [ "$2" = "--no-send" ]
then
# If --no-send is set ignore sending file to off site.
echo "`date "+%Y-%m-%d %H:%M:%S"` - Backup not sending backup file to external storage, --no-send is set." >> $ZimLogFile
echo "Not sending backup to external storage, --no-send is set."
else
if [ $ZimLogEnable = 'yes' ] && [ $ZimLogVerbose = 'yes' ]
then
 
439,6 → 454,7
 
fi
fi
fi
 
# Remove local file(s) if ZimDeleteLocalFile is set to 'yes'
if [ $ZimDeleteLocalFile == "yes" ]
/trunk/readme.txt
1,4 → 1,4
oZimBackup v1.0.5 2012-01-02
oZimBackup v1.0.6 2012-09-30
----------------------------
 
Overview:
32,5 → 32,4
 
Contact:
--------
http://dev.osource.se/
http://dev.osource.se/software/ozimbrabackup/
http://www.osource.se/