31 lines
1 KiB
Text
Executable file
31 lines
1 KiB
Text
Executable file
# Configuration Variables
|
|
#
|
|
# Name of the server for the subject of the success/ failure
|
|
#SERVERNAME="jimbo.egressive.com"
|
|
SERVERNAME="Plainsfm ASM server"
|
|
#
|
|
# Change this for multiple egrdbackups on the same server (eg USB and local)
|
|
EGRD_LOGNAME="egrsproduction"
|
|
LOGFILE=/var/log/$EGRD_LOGNAME.log # use logrotate to manage logs
|
|
#
|
|
# Source and destination directories for the backup
|
|
RSYNC_SRC="/storage/production/"
|
|
#
|
|
#RDIFF_DEST="root@hostname::/storage/backups/this_server"
|
|
#RDIFF_DEST="/storage/backups"
|
|
#RDIFF_DEST="/mnt"
|
|
RSYNC_DEST="/mnt/production"
|
|
#
|
|
RSYNC_ARGS="-aA --human-readable --stats --delete"
|
|
#
|
|
#
|
|
#Directories to exclude from backup - space separated list
|
|
RSYNC_EXCLUDES=""
|
|
#
|
|
# 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 ;-)
|
|
#
|
|
# mail account for sending success/ failure messages
|
|
MAIL_TO="support@egressive.com"
|
|
#
|
|
##
|