Rsync question

2001-04-23 Thread ericfong
I wrote a shell script to sync files from one server to other server everyday.   /usr/local/bin/rsync -azublpv --delete \ --exclude "log/*" \ --exclude "*~" \ --exclude "*tar.gz" \ --exclude "*.psd" \ --exclude "*.norsyn" \ /opt/www/www.test.com/  server2:/opt/www/www.test.com   

Re: --compare-dest usage (was Re: [expert] 8.0 Final)

2001-04-23 Thread Randy Kramer
David, Thanks for the response -- now I understand! I like the idea of the --partial-pad option, but I'm very new to Linux, haven't compiled anything, and I don't think I could make good use of a patch. Someday, maybe. (I think the --partial-pad would be a useful option to people trying to r

RE: --compare-dest usage (was Re: [expert] 8.0 Final)

2001-04-23 Thread David Bolen
Randy Kramer [[EMAIL PROTECTED]] writes: > I'm still uncertain about what happens if a single file rsync is > interrupted partway through (and I've specified the --partial > option) -- will rsync take advantage of the old copy of the file in > --compare-dest and the partially rsync'd file (now tr

Re: --compare-dest usage (was Re: [expert] 8.0 Final)

2001-04-23 Thread Randy Kramer
Dave, Thanks very much for the reply! I'm still uncertain about what happens if a single file rsync is interrupted partway through (and I've specified the --partial option) -- will rsync take advantage of the old copy of the file in --compare-dest and the partially rsync'd file (now truncated)

--compare-dest usage (was Re: [expert] 8.0 Final)

2001-04-23 Thread Dave Dykstra
On Fri, Apr 20, 2001 at 08:53:23AM -0400, Randy Kramer wrote: ... > rsync -a -vv --progress --partial [--compare-dest=] \ > carroll.cac.psu.edu::mandrake-iso/mandrakefreq-i586-20010316.iso \ > mandrakefreq-i586-20010316.iso ... > In reading about the --compare-dest option, it sounded like I could

Re: Memory leaks on Redhat 6.2 and rsync 2.4.6

2001-04-23 Thread Dave Dykstra
On Thu, Apr 19, 2001 at 06:23:06PM -0700, Adam Weisbart wrote: > Greetings, > > Are there any known memory leaks in the most recent version of rSync? We are > copying ~300 small files (about 20k each) between our app server and web > server, and seem to be losing 2-8 megs of ram a time. Nothing s

RE: Rsync and NT's Paging File

2001-04-23 Thread David Bolen
John E. Mayorga [[EMAIL PROTECTED]] writes: > I believe it is actually about 100 bytes per file, plus a little > overhead. This was suggested earlier on this list. I verified the > information with a 35 Gig mailstore sync, after doing a "find . | wc > -l" to count the number of files and direct

Re: Rsync and NT's Paging File

2001-04-23 Thread John E. Mayorga
Martin, I believe it is actually about 100 bytes per file, plus a little overhead. This was suggested earlier on this list. I verified the information with a 35 Gig mailstore sync, after doing a "find . | wc -l" to count the number of files and directories rsync was to sync. John Martin Pool

feature-request: libwrap

2001-04-23 Thread Philipp Bachmann
Hey, it was nice if rsync could be linked against "libwrap" (inside the tcp_wrappers-tool) by Wietse Venema . If run as a stand alone-daemon, not from inetd, you could deny access from certain hosts to rsync this way. A patch shouldn't be too h