aboutsummaryrefslogtreecommitdiff
path: root/backupninja/rub
diff options
context:
space:
mode:
Diffstat (limited to 'backupninja/rub')
-rw-r--r--backupninja/rub2
1 files changed, 1 insertions, 1 deletions
diff --git a/backupninja/rub b/backupninja/rub
index a9b3f848..7f215591 100644
--- a/backupninja/rub
+++ b/backupninja/rub
@@ -146,7 +146,7 @@ for SECTION in $include; do
error "Config file error: either user or host was not specified"
exit 1
else
- $rsync "$ssh" $user@$host:/$SECTION/ $backupdir/$SECTION/$section.0 >> $log
+ $rsync $EXCLUDES -e "$ssh" $user@$host:/$SECTION/ $backupdir/$SECTION/$section.0 >> $log
fi
else
error "Invalid source $from"