diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-11-03 14:16:02 +0200 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-11-03 14:16:02 +0200 |
commit | 5fda73de35de273395b6536fa15f065954a2b05a (patch) | |
tree | 59d14182078c7a8f40e3e071afabd3495a97d785 | |
parent | 786de6b75905bd59aff6f005643f741cf6e20169 (diff) |
Update our deletion-handling.
We've switched the default from --delete-after to --delete-during.
The intention being that we'll free up space during the rsync run,
rather than having to wait until all data has transferred, hoping
it will fit before deletion.
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | bin/byteback-backup | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -89,7 +89,7 @@ more information about filters. It is also possible to add extra rsync flags to the configuration. The following flags are always set: - --archive --numeric-ids --delete-delay --inplace --relative --timeout 43200 + --archive --numeric-ids --delete-during --inplace --relative --timeout 43200 If you wish to add to that (e.g. --xattrs --acl --hard-links) then simply add them to /etc/byteback/rsync_flags. These extra flags get appended after the diff --git a/bin/byteback-backup b/bin/byteback-backup index 4d1b237..d74e7d7 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-delay --inplace --relative ) + args = %w( rsync --archive --numeric-ids --delete-during --inplace --relative ) # # Add on the I/O-timeout |