Fix typo in variable name preventing rsync options to be loaded from config file and add (commented) example config that also works on Synology DSM
This commit is contained in:
parent
86f5ccdef3
commit
031c437f5b
|
@ -25,6 +25,7 @@ REMOTE_USER="%h-%u"
|
|||
|
||||
# Additional options for rsync
|
||||
RSYNC_OPTIONS="--acls --hard-links --xattrs"
|
||||
#RSYNC_OPTIONS="--hard-links --xattrs"
|
||||
|
||||
# Global log file to use when running as root
|
||||
LOG_FILE="/var/log/rs-backup.log"
|
||||
|
|
|
@ -249,7 +249,7 @@ perform_backup() {
|
|||
local msg
|
||||
local backup_cmd
|
||||
local ssh_cmd
|
||||
local rsync_opts="${RSNC_OPTIONS}"
|
||||
local rsync_opts="${RSYNC_OPTIONS}"
|
||||
local exit_code
|
||||
local tee_device="/dev/tty"
|
||||
|
||||
|
|
Loading…
Reference in New Issue