Re: Using a CD to make initial copy

2008-12-07 Thread Chris Shoemaker
On Sun, Dec 07, 2008 at 06:58:57PM -0600, Jay Strauss wrote: > Hi, > > I have 20Gb of data I need to back up. It takes too copy it across > the internet. Is there a way I can copy it locally to some removable > media like a couple of DVDs, then bring them to the target machine, > copy onto the t

Re: Batch mode scenario ("use case")

2007-09-10 Thread Chris Shoemaker
On Sun, Sep 09, 2007 at 11:17:05PM +, Suresh Govindachar wrote: > > Responding to the question of how to use the batch file > /e/cmds/foo created via the command: > > > rsync -a --only-write-batch=/e/cmds/foo /c/home/wer/work/ /e/gold > > to selectively restore a subdirectory of wor

Re: rsync replacement

2007-07-13 Thread Chris Shoemaker
On Fri, Jul 13, 2007 at 03:21:43PM -0400, Mike Jackson wrote: > Looking for more efficient replication or synchronization solution > than rsync, take a look at syncdat by www.dataexpedition.com Hi Mike, You seem to have a misunderstanding about what qualifies as on-topic for the rsync maili

Re: WARNING: failed verification -- update discarded (will try again).

2005-12-07 Thread Chris Shoemaker
On Wed, Dec 07, 2005 at 11:38:25AM -0700, Joe Peterson wrote: > WARNING: jukebox/Frank_Sinatra/The_Main_Event/04-Let_Me_Try_Again.flac > failed verification -- update discarded (will try again). > > What does the "WARNING" imply? What could have gone wrong? I cannot > reproduce it. When I did a

Re: "intelligent" rsync scripts?

2005-11-10 Thread Chris Shoemaker
On Thu, Nov 10, 2005 at 11:30:49AM -0800, Wayne Davison wrote: > On Thu, Nov 10, 2005 at 10:32:50AM -0500, Chris Shoemaker wrote: > > If the original file changes, then so will the hard link. > > No -- an rsync update creates a temporary file, and that file gets > renamed into p

Re: "intelligent" rsync scripts?

2005-11-10 Thread Chris Shoemaker
On Wed, Nov 09, 2005 at 11:52:40PM -0800, Wayne Davison wrote: > > Are you saying only unchanged files are available as alternate basis > > files? If we can, I think it's worth avoiding this restriction. > > If we were to use the files directly, then it would be complicated to > try to order the

Re: "intelligent" rsync scripts?

2005-11-07 Thread Chris Shoemaker
On Mon, Nov 07, 2005 at 02:37:48PM -0800, Wayne Davison wrote: > On Mon, Nov 07, 2005 at 05:03:30PM -0500, Chris Shoemaker wrote: > > Yeah, I think I'm saying just treat (1) and (2) the same way. OTOH, > > if the behavior is optional and documented, I could definitely see &g

Re: "intelligent" rsync scripts?

2005-11-07 Thread Chris Shoemaker
On Mon, Nov 07, 2005 at 12:01:35PM -0800, Wayne Davison wrote: > On Wed, Oct 26, 2005 at 02:04:34PM -0400, Chris Shoemaker wrote: > > That option should imply at least, --checksum and --delete-after if > > --delete at all. > > I don't think it needs --checksum because rs

Re: "intelligent" rsync scripts?

2005-10-26 Thread Chris Shoemaker
On Wed, Oct 26, 2005 at 09:07:51PM +0200, Eberhard Moenkeberg wrote: > Hi, > > On Wed, 26 Oct 2005, Chris Shoemaker wrote: > >On Wed, Oct 26, 2005 at 08:12:30PM +0200, Eberhard Moenkeberg wrote: > > >>The first pass of "rename-without-modification" co

Re: "intelligent" rsync scripts?

2005-10-26 Thread Chris Shoemaker
On Wed, Oct 26, 2005 at 08:12:30PM +0200, Eberhard Moenkeberg wrote: > The first pass of "rename-without-modification" could even be much easier: > size and timestamp should match. Eeek. That's a bit too risky for my tastes. I'd be comfortable with "Size && timestamp && (checksum || filename)"

Re: "intelligent" rsync scripts?

2005-10-26 Thread Chris Shoemaker
On Wed, Oct 26, 2005 at 03:02:51PM +0200, Tomasz Chmielewski wrote: > I use rsync for backing up user data, profiles, important network shares > etc. (from several locations over WAN). > > Overall it works flawlessly, as it transfers only changes, but sometimes > there are some serious hiccups.

broken link on rsync website

2005-10-26 Thread Chris Shoemaker
Wayne, The link to the the 2.6.5 Release NEWS is broken. -chris -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync failed: Too many links

2005-10-01 Thread Chris Shoemaker
On Sat, Oct 01, 2005 at 06:38:44AM -0400, Kent Miller wrote: > Dear Sir or Madam, > Has anyone seen a error message like the following? > > rsync: recv_generator: mkdir "/home/kmiller/briefcase/1205275" failed: Too > many links (31) > rsync: stat "/home/kmiller/briefcase/1205275" failed: No

Re: [Bug 3099] Please parallelize filesystem scan

2005-09-16 Thread Chris Shoemaker
On Thu, Sep 15, 2005 at 09:32:44PM -0400, Chris Shoemaker wrote: > On Thu, Sep 15, 2005 at 04:23:24PM -0700, [EMAIL PROTECTED] wrote: > > https://bugzilla.samba.org/show_bug.cgi?id=3099 > > > > > > > > > > > > --- Additional Comm

Re: [Bug 3099] Please parallelize filesystem scan

2005-09-15 Thread Chris Shoemaker
On Thu, Sep 15, 2005 at 04:23:24PM -0700, [EMAIL PROTECTED] wrote: > https://bugzilla.samba.org/show_bug.cgi?id=3099 > > > > > > --- Additional Comments From [EMAIL PROTECTED] 2005-09-15 16:23 --- > Created an attachment (id=1448) > --> (https://bugzilla.samba.org/attachment.cgi?id=1

Re: --backup leaves window where file doesn't exist.

2005-09-15 Thread Chris Shoemaker
On Thu, Sep 15, 2005 at 08:45:00AM -0400, Dave Mielke wrote: > When using --backup, the sequence (as monitored by strace) is: > >rename("/path/to/", "/") >rename("/path/to/..xx", "/path/to/") > > This, of course, leaves a momentary window wherein can't be found. > Might > it be pos

Re: Open Database RSYNC

2005-09-08 Thread Chris Shoemaker
On Thu, Sep 08, 2005 at 02:20:37PM -0400, Poe, David wrote: > We have nearly 200 GB of data in a production Oracle database broken up > into about 100 files of 2 GB. The database incurrs a 5% change per week > in the form of new data, no modification nor deletions. I need to copy > this data from

Re: rsync transmits unchanged data

2005-07-27 Thread Chris Shoemaker
On Wed, Jul 27, 2005 at 04:26:39PM +0200, Martin Kammerlander wrote: > Zitat von Chris Shoemaker <[EMAIL PROTECTED]>: > > > On Wed, Jul 27, 2005 at 10:36:05AM +0200, Martin Kammerlander wrote: > > > hi all! > > > > > > I tried to synch

Re: rsync transmits unchanged data

2005-07-27 Thread Chris Shoemaker
On Wed, Jul 27, 2005 at 10:36:05AM +0200, Martin Kammerlander wrote: > hi all! > > I tried to synchronise a directory with the following command: > > rsync -avz --exclude "db/" /source/ /destination/folder/ --delete > > The source has 3 subfolders one of them is not necessary for to synchronize

Re: [patch] paranoid checksum checking

2005-07-26 Thread Chris Shoemaker
On Tue, Jul 26, 2005 at 06:19:08PM +0100, Nick Burrett wrote: > The attached patch provides an additional check for the checksumming > mode to ensure that a file that is actually written out to disk can be > read back and has the same MD4 sum as the file on at the originating > location. I'm no

Thanks for an excellent rsync!

2005-04-11 Thread Chris Shoemaker
I had occasion this morning to apply rsync to another task. As usual, the docs were informative, the functionality I needed was easily supported, and rsync worked like a charm. Of course, all this is the result of a lot of hard work by the rsync developers, especially Wayne. I decided it would

Re: Rsync signatures and incremental tape backup

2005-02-24 Thread Chris Shoemaker
On Thu, Feb 24, 2005 at 04:01:52PM -0800, Richard Patterson wrote: > Hello, > > Andrew Trigdell's original rsync paper (actually > thesis) discussed the idea of using rsync to make > incremental tape backups based not on whole files but > rather parts of files. Sadly, this functionality is > not a

Re: Query re: rolling checksum algorithm of rsync

2005-02-11 Thread Chris Shoemaker
On Fri, Feb 11, 2005 at 11:08:45AM +, Alun wrote: > Chris Shoemaker ([EMAIL PROTECTED]) said, in message > <[EMAIL PROTECTED]>: > > > > > If the log file is e.g. 2Gbytes long and has only had 100Kbytes appended > > > since the last rsync, then using -

Re: Prune deleted files with rsync?

2005-02-10 Thread Chris Shoemaker
On Thu, Feb 10, 2005 at 01:23:05PM -0800, Mark Winslow wrote: > Hi, is there a way to have rsync prune files that > exist on the destination path that no longer exist on > the source path? Yes, there is. Please see the excellent documentation that comes with rsync. > > Thanks. > You're welco

Re: Query re: rolling checksum algorithm of rsync

2005-02-10 Thread Chris Shoemaker
On Thu, Feb 10, 2005 at 11:36:51AM +, Alun wrote: > > I think this is a related question (if not identical) to one I asked some > time back. If you're synchronising log files, for example, then you may be > able to guarantee that all changes to the file happen at the end of it. > Unfortunately

Re: rsync huge tar files

2005-02-08 Thread Chris Shoemaker
On Tue, Feb 08, 2005 at 11:35:51AM -0700, Tim Conway wrote: > If it is, as you say, uncompressed, rsync will work on it as-is, finding > and sending the changes. That was exactly my first thought, but I think he was meaning to say that the file's contents were 2GB when uncompressed, not that the

Re: feedback on rsync-HEAD-20050125-1221GMT

2005-01-31 Thread Chris Shoemaker
On Mon, Jan 31, 2005 at 11:04:32AM -0500, Alberto Accomazzi wrote: > > I agree that exclude/include patters can be tricky, and you have a good > point about familiarity versus complexity. I think what makes them hard > to handle is the fact that we are dealing with filename (and directory > na

Re: feedback on rsync-HEAD-20050125-1221GMT

2005-01-28 Thread Chris Shoemaker
On Fri, Jan 28, 2005 at 08:50:10PM -0500, Chris Shoemaker wrote: > of the "right path", but I won't be convinced until Wayne starts > *deleting* man page text, because rsync's pattern matching can be > fully explained in, say, one or two paragraphs. that sho

Re: feedback on rsync-HEAD-20050125-1221GMT

2005-01-28 Thread Chris Shoemaker
On Fri, Jan 28, 2005 at 03:42:25PM -0500, Alberto Accomazzi wrote: > Chris Shoemaker wrote: > > >If I understand Wayne's design, it would be possible to invent a > >(per-directory) "hook" rule, whose value is executed, and whose stdout > >is parsed as a [i

Re: feedback on rsync-HEAD-20050125-1221GMT

2005-01-28 Thread Chris Shoemaker
On Fri, Jan 28, 2005 at 11:25:06AM -0500, Alberto Accomazzi wrote: > > Oooh, I see we are getting a little ambitious, aren't we? ;-) > [suggestion to use 'find' syntax] If I understand Wayne's design, it would be possible to invent a (per-directory) "hook" rule, whose value is executed, and whos

Re: Using rsync to generate diff/patches

2005-01-26 Thread Chris Shoemaker
On Wed, Jan 26, 2005 at 10:57:21AM -0600, Dave Whitinger wrote: > On Wed, Jan 26, 2005 11:50 AM, Chris Shoemaker wrote: > > > Look at "batch mode." Except it actually applys changes, too. > > Thank you, Chris! > > That's excellent that most of the code is

Re: Using rsync to generate diff/patches

2005-01-26 Thread Chris Shoemaker
On Wed, Jan 26, 2005 at 07:41:36AM -0600, Dave Whitinger wrote: > I've been using rsync to remotely backup my MySQL databases > (totalling over 3 gigabytes) and it works nice and fast. > > Now I'm trying to setup my system to save yesterday's backup > before applying today's backup, but it's not r

Re: Shared remote repository

2004-11-27 Thread Chris Shoemaker
On Sat, Nov 27, 2004 at 01:32:58PM +0100, Tony Mobily wrote: > Hello, > > I have a bit of a problem - I have the feeling the solution is > ridicolously trivial, and yet I can't find it! > > I have a remote repository of text files. Until today, I was the only > one changing those files: I wou

Re: reducing memmoves

2004-08-02 Thread Chris Shoemaker
On Mon, Aug 02, 2004 at 10:54:19AM -0700, Wayne Davison wrote: > > - Also removed the (offset > 2*CHUNK_SIZE) check in map_ptr(). > (Did you leave this in for a reason?) > only because I had no idea why it was there... :) -chris -- To unsubscribe or change options: http://lists.samba.

Re: reducing memmoves

2004-08-02 Thread Chris Shoemaker
On Mon, Aug 02, 2004 at 10:54:19AM -0700, Wayne Davison wrote: > On Sun, Aug 01, 2004 at 06:16:05PM -0400, Chris Shoemaker wrote: > > Attached is a patch that makes window strides constant when files are > > walked with a constant block size. In these cases, it completely > >

reducing memmoves

2004-08-01 Thread Chris Shoemaker
Attached is a patch that makes window strides constant when files are walked with a constant block size. In these cases, it completely avoids all memmoves. In my simple local test of rsyncing 57MB of 10 local files, memmoved bytes went from 18MB to zero. I haven't tested this for a big variety o

Re: rsync "-I" vs. "-c"

2004-08-01 Thread Chris Shoemaker
On Sun, Aug 01, 2004 at 06:20:11PM -0700, Linda A. W. wrote: > If I use the "-I" to ignore date and size as quick-check methods of > determining just modtime. rsync never ignores size differences. > change, what method does it use to determine difference? If it falls > back to > checksumming

Re: HP-UX 11i and largefiles on rsync 2.6.2

2004-07-29 Thread Chris Shoemaker
On Wed, Jul 28, 2004 at 10:57:58AM -0700, Steve Bonds wrote: > > HP-UX? > > Alas, no. The mkstemp man page suggests using tmpfile() instead, which > generally means that HP won't fix any problems. > > - mktemp(3C) > Remarks: > These functions are provided solely for backward compat

Re: HP-UX 11i and largefiles on rsync 2.6.2

2004-07-27 Thread Chris Shoemaker
On Tue, Jul 27, 2004 at 03:23:44PM -0700, Steve Bonds wrote: > I've been able to duplicate this problem using the CVS version of rsync > that was current as of about 2000 UTC today (July 27 2004) That's some good detective work, Steve! -chris > -- To unsubscribe or change options: http://lists.

Re: [PATCH] Batch-mode rewrite

2004-07-22 Thread Chris Shoemaker
On Thu, Jul 22, 2004 at 07:01:12PM -0400, Chris Shoemaker wrote: > On Thu, Jul 22, 2004 at 06:36:27PM -0700, Wayne Davison wrote: > > And don't forget the hard-link post-processing -- it would also need to > > happen after the receiver finished its job. > > Ok, it'

Re: [PATCH] Batch-mode rewrite

2004-07-22 Thread Chris Shoemaker
On Thu, Jul 22, 2004 at 06:36:27PM -0700, Wayne Davison wrote: > On Wed, Jul 21, 2004 at 03:54:11PM -0400, Chris Shoemaker wrote: > > What data exactly? I thought: > > 1) all recv-to-gen communications went through the error_pipe[] fds. > > Yes, that became true when I

Re: [PATCH] Batch-mode rewrite

2004-07-22 Thread Chris Shoemaker
tests fail, you will see rather more output. The scratch directory will remain in the build directory. It would be useful if #! /bin/sh # Copyright (C) 2004 by Chris Shoemaker <[EMAIL PROTECTED]> # This program is distributable under the terms of the GNU GPL (see # COPYING). # Test r

Re: [PATCH] Batch-mode rewrite

2004-07-21 Thread Chris Shoemaker
Geesh, I forgot the attachment, (again). On Wed, Jul 21, 2004 at 03:54:11PM -0400, Chris Shoemaker wrote: > On Tue, Jul 20, 2004 at 09:10:22AM -0700, Wayne Davison wrote: > > On Mon, Jul 19, 2004 at 06:18:49PM -0400, Chris Shoemaker wrote: > > > avoid this and also to separate

Re: [PATCH] Batch-mode rewrite

2004-07-21 Thread Chris Shoemaker
On Tue, Jul 20, 2004 at 09:10:22AM -0700, Wayne Davison wrote: > On Mon, Jul 19, 2004 at 06:18:49PM -0400, Chris Shoemaker wrote: > > Ok, how about this: Instead of index notification, run the generator > > and receiver serially. > > I had wondered about that too, but th

Re: [PATCH] Batch-mode rewrite

2004-07-19 Thread Chris Shoemaker
helps to attach, eh? On Mon, Jul 19, 2004 at 06:18:49PM -0400, Chris Shoemaker wrote: > On Sun, Jul 18, 2004 at 08:37:03PM -0700, Wayne Davison wrote: > > On Sun, Jul 18, 2004 at 06:20:59PM -0400, Chris Shoemaker wrote: > > > Could a simplified version of this index notificati

Re: [PATCH] Batch-mode rewrite

2004-07-19 Thread Chris Shoemaker
On Sun, Jul 18, 2004 at 08:37:03PM -0700, Wayne Davison wrote: > On Sun, Jul 18, 2004 at 06:20:59PM -0400, Chris Shoemaker wrote: > > Could a simplified version of this index notification take place over > > the existing error-pipe pair? > > The data is traveling in the o

Re: [PATCH] Batch-mode rewrite

2004-07-19 Thread Chris Shoemaker
On Sun, Jul 18, 2004 at 08:58:43PM -0700, Wayne Davison wrote: > On Sun, Jul 18, 2004 at 06:20:59PM -0400, Chris Shoemaker wrote: > > On Sun, Jul 18, 2004 at 05:25:18PM -0700, Wayne Davison wrote: > > > So, perhaps we should go ahead and save off the exclude list in the > >

Re: [PATCH] Batch-mode rewrite

2004-07-18 Thread Chris Shoemaker
On Sun, Jul 18, 2004 at 05:25:18PM -0700, Wayne Davison wrote: > Seems like the two choices we have are: > > (1) Force the excludes into the batch file and read them in the local- > to-local batch-reading transfer. > > (2) Require the user to re-specify the excludes if they want the same > upda

Re: [Bug 1463] New: poor performance with large block size

2004-07-18 Thread Chris Shoemaker
On Sat, Jul 17, 2004 at 03:54:31AM -0700, Wayne Davison wrote: > On Fri, Jul 16, 2004 at 08:20:51PM -0400, Chris Shoemaker wrote: > > On Thu, Jul 15, 2004 at 07:06:28PM -0700, Wayne Davison wrote: > > > + max_map_size = MIN(MAX_MAP_SIZE, blength * 32); > > > > This

Re: [Bug 1463] New: poor performance with large block size

2004-07-16 Thread Chris Shoemaker
On Thu, Jul 15, 2004 at 07:06:28PM -0700, Wayne Davison wrote: > On Wed, Jul 14, 2004 at 06:27:45PM -0400, Chris Shoemaker wrote: > > My initial reaction (having not actually read the code) is that it would > > be desirable make the window_size highly composite, and then ensure tha

Re: [PATCH] Batch-mode rewrite

2004-07-16 Thread Chris Shoemaker
On Wed, Jul 14, 2004 at 08:07:36PM -0700, Wayne Davison wrote: > I did some work refining your patch a little, and liked the result so > much I went ahead and checked it into CVS. I'd appreciate it if you > could give my changes a look to see if I messed anything up. > > The most important chang

Re: [PATCH] Batch-mode rewrite

2004-07-16 Thread Chris Shoemaker
On Wed, Jul 14, 2004 at 08:07:36PM -0700, Wayne Davison wrote: > I did some work refining your patch a little, and liked the result so > much I went ahead and checked it into CVS. I'd appreciate it if you > could give my changes a look to see if I messed anything up. > > The most important chang

Re: Rsync not preserving owner/group

2004-07-14 Thread Chris Shoemaker
On Wed, Jul 14, 2004 at 11:53:56PM -0400, Loukinas, Jeremy wrote: > For some reason when using -owner -group my files end up being nobody:nobody > on the destination..? > This is Solaris 9. > > Jeremy S. Loukinas > You need to provide much more information. command line? version? et

Re: A question about connection refused

2004-07-14 Thread Chris Shoemaker
On Fri, Jun 25, 2004 at 02:01:41PM +, Guo jing wrote: > I install rsync in computer and run it as a daemon successfully, but when I > run rsync command on another end to connect it. There is a error. > > The output is : > opening tcp connection to 192.168.0.43 port 873 > r

Re: error in rsync protocol data stream (code 12) at io.c(165)

2004-07-14 Thread Chris Shoemaker
On Tue, Jun 22, 2004 at 10:06:49AM -0400, Linux wrote: > I get the same error even after taking the advise from the subsequent > posts to this message and other message stateing "error in rsync > protocol data stream (code 12) at io.c(165)" . > > The one thing that i have noticed is that is only

Re: [Bug 1463] New: poor performance with large block size

2004-07-14 Thread Chris Shoemaker
On Thu, Jun 17, 2004 at 08:47:57PM -0700, Craig Barratt wrote: > > > But, the comment seems to have been right on. I have re-run the > > experiment with block sizes as small as 3000 (yes it took a long > > time to complete) all the way up to block sizes of 10 with it > > working in reasonable

Re: Truly awful rsync docs - Re: real Newbie query sorry!

2004-07-14 Thread Chris Shoemaker
On Thu, Jun 17, 2004 at 10:13:28AM +0100, Stuart Halliday wrote: > > Why isn't there a beginners guide to setting up rsync? > > > The rsync front page talks of a tutorial by devshed at: > http://www.devshed.com/c/b/Administration#/Rsync/page1.html > > Except there isn't one > > It's now:

Re: stalling during delta processing

2004-07-14 Thread Chris Shoemaker
On Mon, Jun 14, 2004 at 11:03:12PM -0700, Craig Barratt wrote: > "Wallace Matthews" writes: > > > I copy the 29 Gig full backup back into fedor//test/Kibbutz and issue > > the command "time rsync -avv --rsh=rsh --stats --block-size=181272 > > /test/Kibbutz/Kbup_1 fedor://test/Kibbutz" and it CRAWL

Re: block check sum sizing

2004-07-14 Thread Chris Shoemaker
On Mon, Jun 14, 2004 at 01:35:28PM -0400, Wallace Matthews wrote: > When I dont specify --block-size but have --write-batch=xxx, I get a xxx.rsync_csum > file that is 76 Kbytes in size. > The size of the file varies as the size of the "reference" file is varied. --stats > showed matched data that

Re: I need help rsyncing Local Disks

2004-07-14 Thread Chris Shoemaker
On Mon, Jun 14, 2004 at 09:39:04AM -0700, Marshall28 wrote: > Recently I've found out about rsync and wanted to use this to mirror local > disks on one of my servers. I first ran Ghost for Linux to get the exact > clone I was looking for, and now I'm ready to setup rsync to keep my drives > mirrore

Re: what am I doing wrong

2004-07-14 Thread Chris Shoemaker
ion of rsync with my recent batch-mode rewrite patch. It has a little different (better) interface, and it does work in the case you describe. It would be interesting to see the results of your block-size measurements. -chris > wally > > -Original Message- > From: C

Re: Rsync Mirroring Problems

2004-07-14 Thread Chris Shoemaker
On Thu, Jun 03, 2004 at 09:14:55AM +1000, Dan Goodes wrote: > Hi Again, > > On Thu, 27 May 2004 at 09:52, Dan Goodes wrote: > > > Hi Folks, > > > > For some time, we've been having some issues with our mirroring with > > rsync. The symptoms are a broken transfer, with the 'cryptic' error > > mess

Re: Rsync Problems, Possible Addressed Bug?

2004-07-14 Thread Chris Shoemaker
On Wed, Jul 14, 2004 at 04:55:31PM -0400, Robert Caskey wrote: > I got this mail from a cronjob and can't figure out what is causing > rsync to crap out on me. I received the message at 5:03, when the cron > job is scheduled to run at 4:00, so total runtime is approximately an > hour. > > Machi

Re: [PATCH] Batch-mode rewrite, update to man page

2004-07-14 Thread Chris Shoemaker
I've attached an update to the man page regarding batch mode. I didn't change the statement about batch mode being experimental, but maybe we should consider modifying it. It did serve well to manage my expectations when I first tried batch mode and found that it didn't work at all for use

Re: [PATCH] Batch-mode rewrite

2004-07-14 Thread Chris Shoemaker
There it goes... On Wed, Jul 14, 2004 at 12:16:45AM -0700, Wayne Davison wrote: > On Tue, Jul 13, 2004 at 04:40:39PM -0400, Chris Shoemaker wrote: > > Do you see any reason to keep FIXED_CHECKSUM_SEED around? It doesn't > > hurt anthing, but I don't see a use for it. >

Re: [PATCH] Batch-mode rewrite

2004-07-13 Thread Chris Shoemaker
Wayne, Do you see any reason to keep FIXED_CHECKSUM_SEED around? It doesn't hurt anthing, but I don't see a use for it. -chris -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: [PATCH] Batch-mode rewrite

2004-07-12 Thread Chris Shoemaker
On Mon, Jul 12, 2004 at 02:47:30PM -0400, Chris Shoemaker wrote: > > Ok. "diff -cu" it is. I used -b because the auto-tab feature > in emacs sometimes causes noisy whitespace changes in the diff. > > I'll incorporate your comments and rediff. > Ok, actuall

Re: [PATCH] Batch-mode rewrite

2004-07-12 Thread Chris Shoemaker
On Mon, Jul 12, 2004 at 07:11:04PM -0700, Wayne Davison wrote: > On Mon, Jul 12, 2004 at 02:47:30PM -0400, Chris Shoemaker wrote: > > On Mon, Jul 12, 2004 at 12:34:38PM -0700, Wayne Davison wrote: > > > Another thing I noticed was that a local --write-batch copy behaved as >

Re: [PATCH] Batch-mode rewrite

2004-07-12 Thread Chris Shoemaker
Wayne, A couple more thoughts: On Mon, Jul 12, 2004 at 12:34:38PM -0700, Wayne Davison wrote: > First, a summary of my thoughts: > > One thought here: would it make things simpler to separate the option- > parsing variables (read_batch & write_batch) from a set of variables > that would

Re: [PATCH] Batch-mode rewrite

2004-07-12 Thread Chris Shoemaker
gt; Thanks for your thorough review and quick feedback! > Some other comments: > > On Sun, Jul 11, 2004 at 06:08:04PM -0400, Chris Shoemaker wrote: > > 1) I suspect one area in client_run() is non-portable. > > I assume you mean the use of /dev/null. That idiom is use

[PATCH] Batch-mode rewrite

2004-07-11 Thread Chris Shoemaker
Wayne, Please consider the attached patch. This applies to the current CVS, and is independant of patches/local-batch.diff. As a matter of fact, I'm sure it would conflict heavily with local-batch.diff. This version of batch mode has a couple distinguishing features: Write-batch

[PATCH] [TRIVIAL] whitespace + variable rename

2004-07-11 Thread Chris Shoemaker
The attached patch adds some whitespace to the recv_files() function declaration, and renames variable 'f' to 'f_out' in generate_files(). Index: generator.c === RCS file: /cvsroot/rsync/generator.c,v retrieving revision 1.93 diff -b -

Re: not updating changed local files

2004-07-07 Thread Chris Shoemaker
On Wed, Jul 07, 2004 at 06:01:25PM +0400, Ilya N. Golubev wrote: > > Am I correct in guessing that 01:32 is _during_ the rsync run? > > No. The file in src dir was updated before rsync run, and became > newer than one in dest dir. Does rsync version 2.6.2 exhibit this same behavior? -chris > -

Re: not updating changed local files

2004-07-06 Thread Chris Shoemaker
On Tue, Jul 06, 2004 at 07:50:51PM +0400, Ilya N. Golubev wrote: > rsync version 2.4.6 protocol version 24 > > [EMAIL PROTECTED]:~> rsync -avv ~/share/cvs-xemacs-head/XEmacs/xemacsweb > ~/share/public_html/xemacsweb > building file list ... done > > ... > > xemacsweb/About/XEmacsServices.conte

Re: problems with --read-batch and --write-batch with --files-from

2004-06-22 Thread Chris Shoemaker
On Tue, Jun 22, 2004 at 07:20:40PM +0200, Karsten Scheibler wrote: > > On Mon, Jun 21, 2004 at 05:22:19PM -0700, Wayne Davison wrote: > > > On Mon, Jun 21, 2004 at 03:11:17PM -0400, Chris Shoemaker wrote: > > > > Is this fixed by the "|| read_batch" [...] whi

Re: problems with --read-batch and --write-batch with --files-from

2004-06-21 Thread Chris Shoemaker
On Mon, Jun 21, 2004 at 05:22:19PM -0700, Wayne Davison wrote: > On Mon, Jun 21, 2004 at 03:11:17PM -0400, Chris Shoemaker wrote: > > Is this fixed by the "|| read_batch" [...] which is in CVS? > > Yes. That extra code makes --read-batch default to --no-whole-file,

Re: problems with --read-batch and --write-batch with --files-from

2004-06-21 Thread Chris Shoemaker
On Mon, Jun 21, 2004 at 03:48:16PM -0700, Wayne Davison wrote: > On Mon, Jun 21, 2004 at 09:57:13PM +0200, Karsten Scheibler wrote: > > delta-transmission disabled for local transfer or --whole-file > > That's because of a long-standing bug in batch mode. Specify > --no-whole-file to work around

Re: problems with --read-batch and --write-batch with --files-from

2004-06-21 Thread Chris Shoemaker
On Mon, Jun 21, 2004 at 09:57:13PM +0200, Karsten Scheibler wrote: > Hello, > > I want to use the --read/write-batch options, but i have problems to do so. > The shell script [1] leads to the following error: > > [sender] expand file_list to 131072 bytes, did move > delta-transmission disabled fo

Re: [PATCH] make write_batch local

2004-06-19 Thread Chris Shoemaker
On Fri, Jun 18, 2004 at 10:20:57AM -0700, Wayne Davison wrote: > On Wed, Jun 16, 2004 at 07:09:46PM -0400, Chris Shoemaker wrote: > > I hope you have the time to review this patch and comment. > > The patch looks good on first inspection. I don't like the change to >

Re: wildcard error in source path?

2004-06-18 Thread Chris Shoemaker
On Fri, Jun 18, 2004 at 09:50:22AM +0100, Stuart Halliday wrote: > > Logically, this is correct behaviour, I think. > > > > dump/* is a wildcard that matches every _existing_ local file in the > > dump/ directory. Since the file you deleted doesn't exist, it isn't > > considered by rsync. > > >

Re: Problem in using rsync

2004-06-17 Thread Chris Shoemaker
On Thu, Jun 17, 2004 at 10:11:19AM -0400, Anh Truong wrote: > Hi > > I use rsync to perform backup on disk on a SunFire 880 with Solaris 8. For > performance issues, we launch simultaneously 5 rsyncs on 5 different fliesystems > and about 150-200 "cp -p" commands on as many database files. We ha

[PATCH] make write_batch local

2004-06-16 Thread Chris Shoemaker
Wayne, It's taken a little while for me to get more familiar with the code, but I think I've reached a good breakpoint in improving batch-mode. Let me highlight some of the changes in the attached patch: * --write-batch and --read-batch arguments are no lon

Re: rsycnc copies all files

2004-06-16 Thread Chris Shoemaker
On Wed, Jun 16, 2004 at 10:16:19PM +0100, Gareth wrote: > Wayne Davison wrote: > > >On Wed, Jun 16, 2004 at 08:26:33PM +0100, Gareth wrote: > > > > > >>I am making an extraordinary claim: rysnc seems to copy all my files, > >>not just ones that have changed or new files. > >> > >> > > > >Use

Re: [Bug 1463] New: poor performance with large block size

2004-06-16 Thread Chris Shoemaker
t of > 29 Gig) and it only completed ~50 Meg of transfer of the 1.3 Gig in a couple of > hours. > > Chris Shoemaker suggests this is a problem with the sliding window being a > fixed size of 256k and that the block size will not allow multiple blocks in > the window size. Er, t

Re: Suggested chnage to "--partial" usage.

2004-06-16 Thread Chris Shoemaker
On Wed, Jun 16, 2004 at 08:30:16PM +0800, Jason Potter wrote: > Hi There, > > > > This post is brought about due to the following two: > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg10702.html > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg10709.html > > > > I have a situation

Re: Rsync security

2004-06-16 Thread Chris Shoemaker
On Wed, Jun 16, 2004 at 02:37:25PM -0700, Wayne Davison wrote: > On Wed, Jun 16, 2004 at 12:30:04PM -0400, Chris Shoemaker wrote: > > Do any "rsync developers" care to confirm/deny? [...] I've used rsync > > over NFS with no problems. > > It has been said

Re: Need information about "--stats" output.

2004-06-16 Thread Chris Shoemaker
Wayne, That's great stuff. What do you think about a cut-n-paste of this example and explanation into the documentation somewhere? -Chris On Wed, Jun 16, 2004 at 02:02:17PM -0700, Wayne Davison wrote: > On Wed, Jun 16, 2004 at 11:16:30AM -0400, Collins, Kevin wrote: > > Number of files: 161530 >

Re: Rsync security

2004-06-16 Thread Chris Shoemaker
On Wed, Jun 16, 2004 at 04:34:46PM +0100, Andrew Smith-MAGAZINES wrote: > My personal preference was to mount a share from the file server on the client and > essentially do the sync all locally on the client but rsync doesn't seem to like > doing this very much (apparently this is advised agains

[OT] CVS update

2004-06-15 Thread Chris Shoemaker
Um, I don't remember the exact checkout command line I used, but it was probably something like the instructions on the web page: cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot rsync anyway, how do I update? I tried: [EMAIL PROTECTED] rsync]$ cvs update -d -P cvs [update aborted]: connect to pse

Re: Rsync security

2004-06-15 Thread Chris Shoemaker
On Tue, Jun 15, 2004 at 03:37:21PM +0100, ww m-pubsyssamba wrote: > Hello list, > > I have a requirement to script a sync from a server to a UNIX workstation (Mac > OS X) users desktop and profile related data at logon and > logoff. Rsync looks like it may be appropriate, but I am concerned

Re: how to exclude large files from backup list.

2004-06-15 Thread Chris Shoemaker
On Tue, Jun 15, 2004 at 12:05:09AM -0700, Wayne Davison wrote: > On Tue, Jun 15, 2004 at 10:34:18AM +0800, Jiang Wensheng wrote: > > I am using a computer to back up files from another computer > > automatically. I want to exclude large files from backing up. How can > > I do that? > > Either crea

Re: what am I doing wrong

2004-06-11 Thread Chris Shoemaker
On Fri, Jun 11, 2004 at 02:53:53PM -0400, Wallace Matthews wrote: > I am seeing some rather strange behavior with synch of 2 directories on the same > system using 2.6.2. > > The older file is the image of a full backup and is 29Gig in size. The new image is > a slice of an incremental > backup

Re: Keeping Multiple Rsyncs Separate

2004-05-28 Thread Chris Shoemaker
On Thu, May 27, 2004 at 08:50:11PM -0700, Swarbrick Software wrote: > I have noticed that if you run two rsyncs at once, they get confused and > copy the files from one the wrong rsync thread. Apparently this is because > of the ?Build List? that is made in ram. Two build lists stepping on each > o

Re: rsync hangs in cron (not SSH-problem)

2004-05-27 Thread Chris Shoemaker
On Fri, May 21, 2004 at 02:55:37AM +0200, Pascal Nobus wrote: > This is the case > > - mounted Inetpub's windows-webserver on /mnt/web1 /mnt/web2, etc. > - rsync this to local dir: > rsync -av --delete /mnt/web1 /mass/kuurne/day > rsync -av --delete /mnt/web2 /mass/kuurne/day > e

? about FLAG_TOP_DIR

2004-05-18 Thread Chris Shoemaker
in send_file_name(), there is: if (write_batch) file->flags |= FLAG_TOP_DIR; Can anyone explain this? It results in the file flags sent to the batch file differing from the ones sent to the recevier by that one bit. But, why? -chris -- To unsubscribe or change

Re: batch-mode fixes [was: [PATCH] fix read-batch SEGFAULT]

2004-05-18 Thread Chris Shoemaker
On Tue, May 18, 2004 at 11:11:51AM -0400, Alberto Accomazzi wrote: > > Wayne Davison wrote: > > > >I'm wondering if batch mode should be removed from the main rsync > >release and relegated to a parallel project? It seems to me that a > >better feature for the mainstream utility would be somet

Re: batch-mode fixes [was: [PATCH] fix read-batch SEGFAULT]

2004-05-18 Thread Chris Shoemaker
On Tue, May 18, 2004 at 10:06:52AM -0400, Alberto Accomazzi wrote: > Chris Shoemaker wrote: > > > Indeed, what you describe seems to have been the design motivation. > > I > >can share what my desired application is: I want to create a mirror of a > >publi

Re: batch-mode fixes [was: [PATCH] fix read-batch SEGFAULT]

2004-05-18 Thread Chris Shoemaker
On Mon, May 17, 2004 at 09:42:18PM -0700, Jos Backus wrote: > On Mon, May 17, 2004 at 05:18:10PM -0400, Chris Shoemaker wrote: > > BTW, there is a work-around. If you don't mind duplicating the mirror > > twice, one solution is to do a regular (no --write-batch) rsync up

Re: batch-mode fixes [was: [PATCH] fix read-batch SEGFAULT]

2004-05-18 Thread Chris Shoemaker
On Mon, May 17, 2004 at 08:10:57PM -0700, Wayne Davison wrote: > On Mon, May 17, 2004 at 05:18:10PM -0400, Chris Shoemaker wrote: > > The "knowledge" or "memory" of that exact state is more likely to > > reside with the receiver (who just left that state) than

Re: batch-mode fixes [was: [PATCH] fix read-batch SEGFAULT]

2004-05-17 Thread Chris Shoemaker
On Mon, May 17, 2004 at 10:15:23AM -0400, Alberto Accomazzi wrote: > > Chris, > > to put things in the right prespective, you should read (if you haven't > done so already) the original paper describing the design behind batch > mode. The design and implementation of this functionality goes ba

  1   2   >