Does an rsync transfer require the rsync program to be installed on both the local and the remote computers?
Does an rsync transfer require the rsync program to be installed on both the local and the remote computers?
No, it's only required on the computer executing the rsync. However, I believe most Linux distributions come with it built in anyway. So unless you're copying from a Windows drive, you should be covered I would imagine.
Thanks
Last edited by Splooshie123; August 13th, 2012 at 01:13 PM.
If you're not real comfortable in CLI, You could try Luckybackup in the repositories. It's a GUI frontend for rsync that seems pretty capable and simple to use. It also has a synch function which can be pretty useful for keeping folders synched. Plug in a USB drive, it takes a few seconds to sync the day's work to a removable drive.
Last edited by kurt18947; August 13th, 2012 at 01:54 PM.
Actually, Yes! The rsync binary is required on each end of the transfer to perform the rsync algorithm. I'm not sure if there is some sort of fallback mode or not, but I logged into a test server and did this:
After that, attempting to rsync with that machine on the remote end caused this error:Code:#do not run, for testing only sudo chmod -x /usr/bin/rsync
I also tried renaming the remote rsync binary, it caused this similar error:Code:bash: /usr/bin/rsync: Permission denied rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: remote command could not be run (code 126) at io.c(601) [Receiver=3.0.7]
Code:bash: rsync: command not found rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: remote command not found (code 127) at io.c(601) [Receiver=3.0.7]
Last edited by asmoore82; August 13th, 2012 at 02:12 PM.
Give me Free Software or Give me Death!
Yup, rsync is required on both ends if you run it over a transport protocol such as ssh.
24 beers in a case, 24 hours in a day. Coincidence? I think not!
Trusty Tahr 64 bit, AMD Phenom II 955 Quad Core 3.2GHz, GeForce 9600 GT
16G PC2-6400 RAM, 128 GB SSD, Twin 1TB SATA 7200 RPM RAID0
Bookmarks