This might be a silly question, but I wanted to keep some of my servers clean and prefer not to install any additional software.

But I always thought rsync would copy data over SSH and would not need rsync on the remote end?

/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded     --rsh=/usr/bin/ssh root@server01:/etc /.snapshot/hourly.0/server01
rsync: command not found

1 Answer 1


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.

You should note that rsync works over more than just SSH. SSH is the default, but other forms of remote login (like insecure rlogin) will work as well.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .