Changes

Jump to navigation Jump to search
177 bytes added ,  07:00, 11 April 2019
m
Line 37: Line 37:  
==Remote backups==
 
==Remote backups==
 
  rsync -av –delete -e ssh /Origen/ user@192.168.11.21:/Destino/
 
  rsync -av –delete -e ssh /Origen/ user@192.168.11.21:/Destino/
 +
 +
=== With private key authentication ===
 +
<syntaxhighlight lang="bash">
 +
rsync --progress -avz -e "ssh -i /home/dev/.ssh/andy-rsync-key" /home/dev/git-master/
 +
</syntaxhighlight>
 +
 
==with password and port settings==
 
==with password and port settings==
 
  rsync -av –delete -e 'ssh -p 12345' /Origen/ user@192.168.235.137:/Destino/
 
  rsync -av –delete -e 'ssh -p 12345' /Origen/ user@192.168.235.137:/Destino/

Navigation menu