-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup.config
30 lines (30 loc) · 1.09 KB
/
backup.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# email address to send backup status to
EMAILTO="[email protected]"
# from address of email
EMAILFROM="[email protected]"
# html-template file for email
HTMLTEMPLATE="/opt/remote-rsync-backup/rsync_mail_template.html"
# statistic directory, should not reside on backup disk
STATDIR="/srv/backup.stats"
# directory to mount backup disk to
BACKUPDIR="/srv/backup"
# device of backup disk, if empty backup will be done to BACKUPDIR without mounting a disk
BACKUPDEV="/dev/sdg"
# filesystem on backup device (zfs/ext4)
FSBACKUPDEV=zfs
# do a filesystem check after n mounts (ext4)
MAXFSCK=5
# minimum space on backup disk to perform backup
HDMINFREE=99
# if 1 then mail will be sent after HDCHANGEDAYS with the same backup disk mounted
HDCHANGEMAIL=1
# days until the mail will be sent
HDCHANGEDAYS=14
# email address to send the reminder to
HDCHANGEMAILTO="[email protected]"
# check for a newer version of backup-rsync-remote.sh script (curl needed)
SKIPVERSIONCHECK=0
# config file for backup sources
SOURCEFILE=/opt/remote-rsync-backup/backup-source.config
# attach logfile in backup status mail
ATTACHLOG=0