diff options
-rwxr-xr-x | byteback-restore | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/byteback-restore b/byteback-restore index 4972cf4..9a6f3f0 100755 --- a/byteback-restore +++ b/byteback-restore @@ -58,7 +58,8 @@ end def restore_file( path, revision ) cmd = %w( rsync ) cmd += [ "--rsh", "ssh -o BatchMode=yes -x -a -i /etc/byteback/key -l byteback" ] - cmd += [ "--rsync-path", "restore" ] + cmd += [ "--rsync-path", "restore --fake-super" ] + cmd += [ "-aApzrX", "--numeric-ids" ] cmd += [ "#{@destination_host}:/#{revision}/#{path}", "." ] system(*cmd) |