From 63037c79544c8025d28d141504bef027b66f1ef8 Mon Sep 17 00:00:00 2001 From: James Hannah Date: Wed, 17 Dec 2014 09:35:35 +0000 Subject: Added ACL, Hard Link and Xattr flags to rsync For issue #8378 --- byteback-backup | 1 + 1 file changed, 1 insertion(+) (limited to 'byteback-backup') 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 -- cgit v1.2.3