From 5fda73de35de273395b6536fa15f065954a2b05a Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 3 Nov 2015 14:16:02 +0200 Subject: 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. --- README.md | 2 +- bin/byteback-backup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c138c21..0ca540e 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3