is it possible to rsync to the remote server that doesn't have rysnc installed?
I tried to rsync to our remote server that doesn't have rsync installed, all I received is this error:
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(463) [receiver=2.6.8]
Best Answer
You can copy the local
rsync
binary to the other server usingscp
and then usersync
with the--rsync-path=PROGRAM
directive where PROGRAM is the path to the uploadedrsync
binary.For instance: