Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-26-2013, 06:16 PM   #16
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615

Instead of making a symlink (though it works), you can use the --rsync-path switch:
--rsync-path=PROGRAM    specify the rsync to run on remote machine
Old 09-23-2016, 11:03 AM   #17
LQ Newbie
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Rsync is required on both ends

Working on a new mail server install, when I tried to copy the information from the old server using rsync via ssh I got the same error.

Installed rsync on new machine..... error went away. It makes sense that you need rsync on both based on the fact that it uses a specific algorithm to determine file changes.

The rsync utility uses an algorithm invented by Australian computer programmer Andrew Tridgell for efficiently transmitting a structure (such as a file) across a communications link when the receiving computer already has a similar, but not identical, version of the same structure.

The recipient splits its copy of the file into chunks and computes two checksums for each chunk: the MD5 hash, and a weaker but easier to compute 'rolling checksum'.[18] It sends these checksums to the sender.
Old 09-23-2016, 01:28 PM   #18
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,398
Blog Entries: 8

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
There's a simple way to use rsync when it is only installed on one side - mount the other side's relevant file system as a file share (sshfs, or nfs, or samba, or whatever), and then use rsync to copy files to/from that file share.

I like using rsync in this fashion because the other side doesn't need any special setup other than serving up a file share.

The only real downside to having rsync only on one side is that you can't conserve bandwidth by doing binary checksum comparison. You have to rely entirely upon timestamp/filesize to detect unchanged files. IMHO, this is not a big deal. I mean, what are the chances that a file is going to have its timestamp altered but the contents remain the same?

Okay, depending on the file share and file system involved, this could happen a LOT. In particular, there are Windows issues with daylight savings time, and Windows file systems don't have the same timestamp granularity as *nix. You can work around the latter by using a slop range of a couple seconds, but daylight savings time is ... annoying.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logrotate problem - postrotate: command not found humbletech99 Linux - General 2 01-14-2007 10:49 AM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
Problem: Startx Command Not Found rvijay Debian 11 02-13-2005 11:40 AM
Command not found problem rudon Linux - Newbie 3 04-16-2003 09:09 PM
depmod -a :command not found. Sound problem Greenhorn Linux - Newbie 4 10-24-2002 10:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration