summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatthew Bloch <matthew@bytemark.co.uk>2015-11-09 10:17:42 +0000
committerMatthew Bloch <matthew@bytemark.co.uk>2015-11-09 10:17:42 +0000
commit0bd96396842d26af63dd2c0cf64dbde154e2df5d (patch)
treeb33dfc8455910b5b14c273b9144805994ae1638a /bin
parentc1ba7c99eb23ebb7d2ba6ff8da84a03afc17b7c7 (diff)
Added --delete-excluded to rsync flags, otherwise fiddling with the
/etc/byteback/excludes file between runs can stop your next backup completing.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/byteback-backup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/byteback-backup b/bin/byteback-backup
index d74e7d7..0a50909 100755
--- a/bin/byteback-backup
+++ b/bin/byteback-backup
@@ -55,7 +55,7 @@ def rsync(*sources)
# without jeopardising the timing of the next backup run.
#
#
- args = %w( rsync --archive --numeric-ids --delete-during --inplace --relative )
+ args = %w( rsync --archive --numeric-ids --delete-excluded --delete-during --inplace --relative )
#
# Add on the I/O-timeout