1 # Configuration for filesystem-backup
4 # Backup directory location e.g:
6 # rsync://backup.server.net/hostname
7 # This may need to include a username if you are using SSH
9 # backup.host.com:hostname
10 # Do NOT include the username in this if you are using the
11 # SSH transport method. See the BACKUP_USER setting below
12 # in this case. The directory part of this URI MUST ALREADY EXIST.
13 # Default: short hostname of this machine.
16 # Logging directory; where to store log files. A new logfile
17 # will be created each time a backup is run.
18 LOGDIR="/var/log/backup"
20 # Do you want to use SSH as the transport?
21 # Value: 0 (No) or 1 (Yes)
24 # The host to connect to if using SSH as the transport
25 # This is IGNORED if USE_SSH is set to 0
26 BACKUP_HOST='usw-s001.rsync.net'
28 # The user to connect as if using SSH as the transport
29 # This is IGNORED if USE_SSH is set to 0
32 # File with a list of files to backup
33 INCLUDE_LIST='/etc/rsync-backup/backup.include'
35 # File with a list of files to exclude form backup
36 EXCLUDE_LIST='/etc/rsync-backup/backup.exclude'
39 # What would you like to be mailed to you?
40 # - log : send only log file
41 # - stdout : will simply output the log to the screen if run manually.
42 # - quiet : Only send logs if an error occurs to the MAILADDR.
45 # Email Address to send mail to? (user@domain.com)
46 MAILADDR="YOUR@EMAILADDRESS.COM"
48 # ============================================================
49 # === ADVANCED OPTIONS ===
50 #=============================================================
52 # Command to run before backups (uncomment to use)
53 #PREBACKUP="/etc/filesystem-backup/pre-backup.sh"
55 # Command run after backups (uncomment to use)
56 #POSTBACKUP="/etc/filesystem-backup/post-backup.sh"
58 # Do a rolling 7 days of backups. This uses the rsync --link-dest
59 # option to make space efficient 'incremental' type backups by
60 # hard linking any files that haven't changed between the current
61 # and last backup, thereby the only extra space required is the
62 # space of any files that have changed since the last backup.
67 HOSTNAME='/bin/hostname'
68 RSYNC='/usr/bin/rsync'