summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Hannah <james.hannah@bytemark.co.uk>2014-12-17 09:35:35 +0000
committerJames Hannah <james.hannah@bytemark.co.uk>2014-12-17 09:35:35 +0000
commit63037c79544c8025d28d141504bef027b66f1ef8 (patch)
tree2aae47b076f9cd869385c28f14a86f9fba7480f2
parentf88dd2535ca5367c89baa7131c2b94565a6a4cd7 (diff)
Added ACL, Hard Link and Xattr flags to rsync
For issue #8378
-rwxr-xr-xbyteback-backup1
1 files changed, 1 insertions, 0 deletions
diff --git a/byteback-backup b/byteback-backup
index c4c8310..20ef746 100755
--- a/byteback-backup
+++ b/byteback-backup
@@ -190,6 +190,7 @@ def rsync(*sources)
# given filesystem, daily backups (with this tool) are out of the question.
#
args = %w( rsync --archive --numeric-ids --delete-delay --inplace --relative --timeout 43200 )
+ args += [ "--xattrs", "--hard-links", "--acls" ]
args += [ "--rsync-path", "rsync --fake-super"]
args += [ "--rsh", "ssh -o BatchMode=yes -x -a -i #{@ssh_key} -l #{@destination_user}"]
args << "--verbose" if @verbose