egscripts/egrdbackup-usb/egrdbackup.conf

39 lines
1.1 KiB
Text
Executable file

# Configuration Variables
#
# Name of the server for the subject of the success/ failure
#SERVERNAME="jimbo.egressive.com"
SERVERNAME="USB intranet.tradeaid.co.nz"
#
EGRD_LOGNAME="egrdbackup-usb"
#
# Source and destination directories for the backup
RDIFF_SRC="/"
#
#RDIFF_DEST="root@hostname::/storage/backups/this_server"
#RDIFF_DEST="/storage/backups"
RDIFF_DEST="/mnt"
#
RDIFF_ARGS="--print-statistics --include-symbolic-links --exclude-sockets --exclude-fifos"
#
# Age of oldest revisions
RDIFF_DAYS_OF_REVISIONS="90" # 30 = 30 Days
#
# Do we need to force a backup (e.g. due to an error)
# true or false
RDIFF_FORCE=false
#
#Directories to exclude from backup - space separated list
RDIFF_EXCLUDES="/proc /tmp /var/tmp /mnt /sys /dev/bus /media /mnt /storage "
#
# Check to see if this is a local backup (ie no :: in the destination).
# Local backups need to exclude the destination from being backup up ;-)
#
if ! [ `echo $RDIFF_EXCLUDES | grep -c ":"` ]
then
RDIFF_EXCLUDES = $RDIFF_EXCLUDES" --exclude $RDIFF_DEST "
fi
#
# mail account for sending success/ failure messages
MAIL_TO="Graeme.Sleeman@tradeaid.org.nz,support@egressive.com"
#
##