diff options
author | Matthew Bloch <matthew@bytemark.co.uk> | 2014-12-31 17:59:43 +0000 |
---|---|---|
committer | Matthew Bloch <matthew@bytemark.co.uk> | 2014-12-31 17:59:43 +0000 |
commit | c795435feb078b6535d832e125855d8f38026729 (patch) | |
tree | db49acce19d6ec9f9f4588adedfd82a86b5ef481 | |
parent | 3054b8f5c16a7e0646dccd145dd9accb68800cd9 (diff) | |
parent | 63037c79544c8025d28d141504bef027b66f1ef8 (diff) |
Merge branch 'master' of ssh://dev.bytemark.co.uk/home/git/byteback
-rwxr-xr-x | byteback-backup | 1 |
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 |