I am having trouble sending a file with rsync to a local machine. I try from 192.168.0.8: rsync -vvv --stats --progress file1 192.168.0.14::test-data and get: make_file(3,TEST2) send_file_list done send_files starting send_files phase=1 send files finished total: matches=0 tag_hits=0 false_alarms=0 data=0 Number of files: 1 Number of files transferred: 0 Total file size: 9 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 24 Total bytes written: 99 Total bytes read: 41 wrote 98 bytes read 41 bytes 278 bytes/sec total size is 9 speed is 0.06 on 192.168.0.14 my rsyncd.conf file looks like this: log file = /var/log/rsync [test-data] path = /tmp read only = no ##End rsyncd.conf The logs on 0.14 seem to indicate that it worked. However, the file is nowhere to be found on the target machine. I even tried find / -name file1 -print [18278] rsync to test-data from ussbriscoe (192.168.0.8) [18279] wrote 28 bytes read 106 bytes total size 14 Any help is greatly appreciated. Thanks, Richard
On Sun, Mar 13, 2005 at 07:41:36AM -0800, Richard Reina wrote:> rsync -vvv --stats --progress file1 > 192.168.0.14::test-data > [...] > make_file(3,TEST2)This indicates that the file that was transferred was "TEST2", not "file1". Was that output from a different run? Or do you have something that is tweaking your command-line behind the scenes?> Number of files: 1 > Number of files transferred: 0 > Total file size: 9 bytesThis tells you there was one file, 9 bytes long, but it was not transferred, presumably because it was up-to-date. The debug output for such decisions occurs on the daemon when it is the receiver, so you'll need to use a modern rsync on the daemon (e.g. 2.6.3) and specify "max verbosity = 3" in the rsyncd.conf file, at which point you will see a better description of what is happening in the server's log file (if you run the client command with -vvv again). ..wayne..