User Tools

Site Tools


perso:dump:mess

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
perso:dump:mess [2016/09/28 15:36]
Jean-Christophe Berthon Add rsync mirroring
perso:dump:mess [2016/09/28 15:41]
Jean-Christophe Berthon [Mirroring a folder over a network (rsync/SSH)]
Line 100: Line 100:
 This assume that ssh is correctly set-up and that the destination folder exist. This assume that ssh is correctly set-up and that the destination folder exist.
  
-<​code>​rsync -acAHPX ​--del /​var/​backup/​ myNAS.lan:/​var/​backup/​$(hostname)</​code>​+<​code>​rsync -acAHX --progress ​--del /​var/​backup/​ myNAS.lan:/​var/​backup/​$(hostname)</​code>​
  
 //Note: the --del option will remove the locally deleted files on the remote end. In my case, this is a must. But in most cases you should remove that option!// //Note: the --del option will remove the locally deleted files on the remote end. In my case, this is a must. But in most cases you should remove that option!//
perso/dump/mess.txt · Last modified: 2017/03/19 23:13 by Jean-Christophe Berthon