Re: Incremental Diffs?

2002-03-07 Thread Kim Scarborough

  I'm using it to backup files from one computer to another, and it
  works exactly as I thought it would, except that it seems to be
  copying entire files over when they've change rather than the
  differences.

 What specifically leads you to that conclusion?

I have it set to extra verbose, and I've been watching the files transfer
over. When I append 2K to a 100MB text file and re-rsync, it's pretty
obvious it's transferring 100MB, not 2K + whatever overhead the diff takes
up.

---
Kim Scarborough  http://www.unknown.nu/kim/
---
I know of no man I despise more than Shakespeare; it would be positively a
relief to my mind to dig him up and throw stones at him.
  - George Bernard Shaw
---


-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Incremental Diffs?

2002-03-06 Thread Kim Scarborough

Hello,

I'm new to rsync, and I'm confused about something. I was under the
impression that it used some sort of diff function to save time 
bandwidth when copying over files. I'm using it to backup files from one
computer to another, and it works exactly as I thought it would, except
that it seems to be copying entire files over when they've change rather
than the differences. This is a problem with a few huge mail spools that I
need to back up; even if there's just a couple messages appended to the
end, it copies over the entire file. Here's the command I'm running:

rsync -vvaRbS --backup-dir=/backups/rsync/old --delete --rsh=ssh \
--exclude=*.core --numeric-ids --stats --progress --bwlimit=100 \
/usr/local /home /var/mail remotehost:/backups/rsync/current

Am I missing something here? Does one of these options imply -W?

Possibly relevant: I'm running rsync 2.5.2 client-side but 2.5.3pre1
server-side. 2.5.2 kept coredumping on the server for some reason. I would
have investigated further had 2.5.3pre1 not fixed it. Both boxes are
FreeBSD 4.5.

---
Kim Scarborough  http://www.unknown.nu/kim/
---
I have to applaud whoever thought of making a big hot dog shaped car, and
then made that vision a reality
 - Chris Scales
---


-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html