43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
|
# Configuration Variables
|
||
|
#
|
||
|
# Name of the server for the subject of the success/ failure
|
||
|
#SERVERNAME="jimbo.egressive.com"
|
||
|
SERVERNAME=""
|
||
|
#
|
||
|
# Change this for multiple egrdbackups on the same server (eg USB and local)
|
||
|
#EGRD_LOGNAME="egrdbackup-usb"
|
||
|
EGRD_LOGNAME="egrdbackup"
|
||
|
#
|
||
|
# 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_DEST=""
|
||
|
#
|
||
|
RDIFF_ARGS="--print-statistics --include-symbolic-links --exclude-sockets --exclude-fifos"
|
||
|
#
|
||
|
# Age of oldest revisions
|
||
|
RDIFF_DAYS_OF_REVISIONS="30" # 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 /storage /var/cache/apt/archives"
|
||
|
#
|
||
|
# 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="support@egressive.com"
|
||
|
#
|
||
|
##
|