View Single Post
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#38
Originally Posted by Cue View Post
Can somebody explain how unison works over ssh?

I have an always on ARM based NAS device with only rsync installed. I want this to be my master storage device to which everything else is synced. Problem is I'd have to compile unison on my NAS which is a real pain if unison needs to be on both the "host" and "client". So a possible solution was to use rsync only, with

rsync --rsh=ssh -aizuKL

both ways. Do you see any problems with this?
There is a problem with deleting files. Rsync deletes files in second root that do not exist in first root even if the file is new in the second root. If you don't care about deleting files (keep everything) it's fine I think.

unison works even without being installed in one of the machines but it requires another machine to have a server installation, which uses the unisonless machine as storage over ftp (IIRC) which can be tunnelled over ssh.

in normal mode it just ssh's to the other machine and runs the unison binary there communicating with it
 

The Following User Says Thank You to qwazix For This Useful Post: