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



Re: Incremental Diffs?

2002-03-06 Thread Martin Pool

On  6 Mar 2002, Kim Scarborough [EMAIL PROTECTED] wrote:

 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?

-- 
Martin 

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



Re: hosts allow = wildcards

2002-03-06 Thread jp

 Hello!
 
 A good day to you all. i would like to know the exact
 syntax for the hosts allow and hosts deny line. The
 documentation states that the standard unix wildcards
 will do ,  but i have nothad any success when i set
 the ff options:
 hosts allow = 192.168.37.*
 hosts allow = 192.168.37.
 hosts allow = 192.168.37.* 192.168.38.*
 hosts allow = *.plugbert.com
 hosts allow = *
 Any suggestions? Thanks in advance.

hosts deny = *
hosts allow = *.midcoast.com 10.0.0.0/8 192.168.0.0/16  206.26.224.0/21

is how we do it.

tail the logfile while attempting for more detail regarding why your 
attempt might not be working.

-Jason Philbrook

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



errors

2002-03-06 Thread Jennifer Lu

Hi,

I got more error messages when running rsync2.5.2 from
Solaris-5.5.1 to Solaris-5.8. Here is the errors:

rsync: building file list...
ERROR: out of memory in map_ptr
rsync error: error allocating core memory buffers (code 22) at util.c(232)

Rsync job would be completed without -c option, with -c, 
I got this error. Is there any patch I can apply?

Thanks,
Jennifer

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