Hi, Just starting out with rsync, and I think I might be missing a fundamental point of how it works. Scenario: I start an rsync daemon on host A, and define a module 'test' on the rsyncd.conf file. 'test' is essentially my home directory on host A I then sign on to host B and issue rsync --progress --recursive --links --stats arthur::test/ /var/tmp/haggis This copies 'test' from host 'arthur' (host A) into /var/tmp/haggis (on host B) so far so good. Everything goes to host B no problem. Next I edit a small file in 'test' on host A, then reissue the rsync command above. All files are checked and transferred according to the summary at the end. Am I incorret in assuming that only the delta of the before and after of the one small file I edited would be sent, rather than the entire directory tree defined by 'test'? Remember, I'm using rsync to copy *from* a host running an rsync daemon...would this be the issue? Confused and probably missing something simple .... any ideas? Thanks! Scotty
Steve Howie wrote:> Hi, > > Just starting out with rsync, and I think I might be missing a > fundamental point of how it works.Is either box Windows? When I used an NT4 server as my rsync server, I had to use --modify-window 2 on the client side to get it to NOT copy over all files. Daemian Mack> Scenario: > > I start an rsync daemon on host A, and define a module 'test' on the > rsyncd.conf file. 'test' is essentially my home directory on host A > > I then sign on to host B and issue > > rsync --progress --recursive --links --stats arthur::test/ > /var/tmp/haggis > > This copies 'test' from host 'arthur' (host A) into /var/tmp/haggis > (on host B) > > so far so good. Everything goes to host B no problem. > > Next I edit a small file in 'test' on host A, then reissue the rsync > command above. All files are checked and transferred according to the > summary at the end. Am I incorret in assuming that only the delta of the > > before and after of the one small file I edited would be sent, rather > than the entire directory tree defined by 'test'? > > Remember, I'm using rsync to copy *from* a host running an rsync > daemon...would this be the issue? > > Confused and probably missing something simple .... any ideas? > > Thanks! > > Scotty
On Fri, Dec 12, 2003 at 11:49:26AM -0500, Steve Howie wrote:> rsync --progress --recursive --links --stats arthur::test/ /var/tmp/haggisYou didn't use -t to tell it to preserve the file times. Without that, you must use -c to checksum the files to figure out if they need to be resent or not (which is much slower than just using -t). ..wayne..
Seemingly Similar Threads
- Installation problem - No X interface
- zpool status showing wrong device name (similar to: ZFS confused about disk controller )
- long startup times for large file systems
- CentOS DomU 2.6.18-128.1.6.el5 crashing on boot when xenpv_hvm drivers are loaded / snv_111 Xen 3.1 Dom0
- Path for fixing sequence lookup of newly created mails in transaction view