Move --acls option to config file since not all servers support it (e.g. Synology DSM doesn't)

This commit is contained in:
Janek Bevendorff 2014-10-05 17:54:53 +02:00
parent 0a7ba16686
commit 86f5ccdef3
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,7 @@ REMOTE_USER="%h-%u"
#SSH_OPTIONS="-C -i .ssh/id_rsa"
# Additional options for rsync
#RSYNC_OPTIONS=""
RSYNC_OPTIONS="--acls --hard-links --xattrs"
# Global log file to use when running as root
LOG_FILE="/var/log/rs-backup.log"

View File

@ -288,7 +288,6 @@ perform_backup() {
backup_cmd="rsync \
--rsh=\"${ssh_cmd}\" \
--archive \
--acls \
--delete \
--delete-excluded \
--include-from=\"${inclusion_pattern_file}\" \