2014-10-05 14:11:50 +00:00
|
|
|
##
|
|
|
|
# Global config file for rs-backup-run
|
|
|
|
# This is an example file. Copy it over without the .example extension
|
|
|
|
# and modify it to your needs.
|
|
|
|
# Most config options can also be passed directly as command line parameters.
|
|
|
|
##
|
|
|
|
|
|
|
|
# Remote host to push the files to
|
|
|
|
# The remote host must have a working rsync server running which allows
|
|
|
|
# passwordless (public key) login over SSH
|
|
|
|
REMOTE_HOST="host"
|
|
|
|
|
|
|
|
# The rsync module on the remote server
|
|
|
|
PUSH_MODULE="push"
|
|
|
|
|
|
|
|
# Username to use for logging into the remote server.
|
|
|
|
# You can use the variables %h which will be replaced with the hostname
|
|
|
|
# of this machine and %u which will be replaced with your local username.
|
|
|
|
# If a global system backup is performed, %u will be 'root' for the global
|
|
|
|
# backup and the corresponding user for the individual home directories
|
|
|
|
REMOTE_USER="%h-%u"
|
|
|
|
|
|
|
|
# Additional SSH options
|
|
|
|
#SSH_OPTIONS="-C -i .ssh/id_rsa"
|
|
|
|
|
|
|
|
# Additional options for rsync
|
2017-06-13 23:11:16 +00:00
|
|
|
#
|
|
|
|
# For systems that don't support it (e.g. Synology DSM), you may
|
|
|
|
# need to remove the --acls option
|
|
|
|
#
|
|
|
|
# The block size setting should avoid hangs when backing up larger
|
|
|
|
# files. It's set to the default maximum value allowed by rsync.
|
|
|
|
# If you need larger values, recompile rsync with MAX_BLOCK_SIZE
|
|
|
|
# set to an appropriate value.
|
2017-06-13 23:05:16 +00:00
|
|
|
RSYNC_OPTIONS="--acls --hard-links --xattrs --block-size=131072"
|
2014-10-05 16:03:50 +00:00
|
|
|
#RSYNC_OPTIONS="--hard-links --xattrs"
|
2014-10-05 14:11:50 +00:00
|
|
|
|
|
|
|
# Name of the file inside the users' home directories
|
|
|
|
# containing the patterns for matching files to include or exclude.
|
|
|
|
# The format is the same as the global 'include-files' config file
|
|
|
|
# and described in the FILTER RULES section of the rsync(1) man page.
|
|
|
|
# If no such file is found inside a home directory, it won't be backup up
|
2015-10-14 16:29:46 +00:00
|
|
|
INCLUSION_PATTERN_FILE=".rs-backup/include"
|
2014-10-05 14:11:50 +00:00
|
|
|
|
|
|
|
# Log verbosity
|
|
|
|
# (0 = quiet, 1 = errors only, 2 = errors and warnings, 3 = info, 4 = debug)
|
|
|
|
LOG_LEVEL=3
|
|
|
|
|
|
|
|
# Send error messages to STDERR
|
|
|
|
PRINT_ERRORS=true
|
|
|
|
|
|
|
|
# Send warnings to STDERR (implies PRINT_ERRORS=true)
|
|
|
|
PRINT_WARNINGS=true
|
2014-10-05 19:57:48 +00:00
|
|
|
|
|
|
|
# Show desktop notifications. Requires libnotify / notify-send.
|
|
|
|
DESKTOP_NOTIFICATIONS=true
|