updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / rsync-backup / options.conf
blobe15a8c4c5930da5ab3c88189e77507646c7af9ee
1 # Configuration for filesystem-backup
2 RSBU_OPT_VER='0.6.0'
4 # Backup directory location e.g:
5 #   /backups
6 #   rsync://backup.server.net/hostname
7 # This may need to include a username if you are using SSH
8 # such as:
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.
14 BACKUP_DIR=''
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)
22 USE_SSH=1
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
30 BACKUP_USER='1234'
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'
38 # Mail setup
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.
43 MAILCONTENT="stdout"
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.
63 INCREMENTAL=1
65 # Binary Paths
66 DATE='/bin/date'
67 HOSTNAME='/bin/hostname'
68 RSYNC='/usr/bin/rsync'
69 TOUCH='/bin/touch'
70 SSH='/usr/bin/ssh'