diff options
author | Matthew Bloch <matthew@bytemark.co.uk> | 2015-11-09 10:17:42 +0000 |
---|---|---|
committer | Matthew Bloch <matthew@bytemark.co.uk> | 2015-11-09 10:17:42 +0000 |
commit | 0bd96396842d26af63dd2c0cf64dbde154e2df5d (patch) | |
tree | b33dfc8455910b5b14c273b9144805994ae1638a | |
parent | c1ba7c99eb23ebb7d2ba6ff8da84a03afc17b7c7 (diff) |
Added --delete-excluded to rsync flags, otherwise fiddling with the
/etc/byteback/excludes file between runs can stop your next backup
completing.
-rwxr-xr-x | bin/byteback-backup | 2 |
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 |