I have rsync installed on a machine. I am trying to sync a directory to a remote machine. Sometimes it's working for some remote machines but sometimes it's not.Do we need to install rsync to the remote machine also or it will work even if there is no rsync installed on remote machine?
Does rsync package have to be installed on the remote server?
rsync;remote
You need to install rsync in both source and destination machine.rsync works by doing quick calculations at both ends looking at the timestamps and existence of all the found files in a particular location. Once it does this, it communicates back to the origin rsync about the found list and the origin can then use that information to decide what files it needs to send. That way only the recently modified or new files get transmitted to the other side. The rsync binary on the remote side is responsible for getting the list together of what already exists and then receiving each of the files that need to be transmitted and putting them in place.