summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Bloch <matthew@bytemark.co.uk>2014-12-31 17:59:43 +0000
committerMatthew Bloch <matthew@bytemark.co.uk>2014-12-31 17:59:43 +0000
commitc795435feb078b6535d832e125855d8f38026729 (patch)
treedb49acce19d6ec9f9f4588adedfd82a86b5ef481
parent3054b8f5c16a7e0646dccd145dd9accb68800cd9 (diff)
parent63037c79544c8025d28d141504bef027b66f1ef8 (diff)
Merge branch 'master' of ssh://dev.bytemark.co.uk/home/git/byteback
-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