Re: Specify Includes Only

2010-03-23 Thread Matt McCutchen
On Sun, 2010-03-14 at 14:23 +, Paul wrote: > On Sat, Mar 13, 2010 at 08:03:05PM -0800, Steven Monai wrote: > >$ cat >dirs.txt < >sourcedir/GroupA > >sourcedir/GroupC > >EOF > > > >$ rsync -r --include-from=filt.txt --prune-empty-dirs `cat dirs.txt` destdir > I can't quite get that to work when

Re: writefd_unbuffered failed - Broken pipe on local rsync

2010-03-23 Thread Matt McCutchen
On Wed, 2010-03-10 at 11:58 +, Dave Howorth wrote: > I'm seeing an error that says there is a broken pipe, but the rsync > command is local to one machine: > > /usr/bin/rsync -rltH --stats -D --delete --numeric-ids --whole-file > /data/dir /backup/suse1/suse1-data-dir/ >/tmp/rsync-out 2>&1 >

Re: cwrsync and link-dest option

2010-03-23 Thread Matt McCutchen
On Wed, 2010-03-17 at 20:46 +0100, Stefan Agner wrote: > Is there a way to get permissions working correctly? Does it work when > I have the users from Windows in my passwd? I must admit that the > backup pc is not (yet) connected to the Active Directory (e.g. using > samba to authenticate at

Re: UDT4 and rsync? support to socket.c?

2010-03-23 Thread Jamie Lokier
Jan Wagner wrote: > Hi, has anyone of the devels considered adding UDT4 fast reliable udp > transport to socket.c, as a user-selectable alternative to using default > slow TCP? > > It could give a 4 to 10-fold throughput improvement to rsync speed over > wide area networks. If you're seeing th

Re: rsync maximum size limit

2010-03-23 Thread Matt McCutchen
On Wed, 2010-03-17 at 14:30 -0500, Ramesh Basukala wrote: > Is there any way in rsync that allows me to trasfer certain amount of > files? > > For Example: > > My total directory/folder (/var/tmp/testFolder ) size is 800MB and I > want to sync only 200MB of files at other server, whichever file w

Re: Incremental recursion not working

2010-03-23 Thread Matt McCutchen
On Mon, 2010-03-22 at 14:40 +0100, Gerald Holl wrote: > I'm using rsync 3.0.3 over ssh to sync data between two hosts. I can't > get the incremental recursion working: > rsync -vLogtprz --progress --delete --delete-during --partial -e "ssh -p > 1234" --numeric-ids u...@host /local/dir/ > > The d

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Bruce Korb
OK, I'm feeling stupid. I was pouring over the rsyncd.conf man page and there was no discussion of filter rules, so I was guessing based on the "filter" clause description, not the "FILTER RULES" section of rsync.1. Really sorry. Much clearer now... On Tue, Mar 23, 2010 at 5:25 PM, Matt McCu

DO NOT REPLY [Bug 7057] Buffer overflow when sending a file with long name

2010-03-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=7057 --- Comment #7 from m...@mattmccutchen.net 2010-03-23 19:32 CST --- Created an attachment (id=5529) --> (https://bugzilla.samba.org/attachment.cgi?id=5529&action=view) Reproducer I think I found the problem, and no, it isn't fixed by t

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Matt McCutchen
On Tue, 2010-03-23 at 17:12 -0700, Bruce Korb wrote: > Fixing a spelling error for the log file name gets me the log text, > but not anything I understand: > > Unknown filter rule: `/gdoc/***' > > OK, I am trying to ensure that files pushed to the "doc" module all start > with the prefix "/gdoc/

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Bruce Korb
Fixing a spelling error for the log file name gets me the log text, but not anything I understand: Unknown filter rule: `/gdoc/***' OK, I am trying to ensure that files pushed to the "doc" module all start with the prefix "/gdoc/". My reading of the docs seems to say to me that this is the way

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Matt McCutchen
On Tue, 2010-03-23 at 17:05 -0700, Bruce Korb wrote: > On Tue, Mar 23, 2010 at 4:59 PM, Matt McCutchen > wrote: > > On Tue, 2010-03-23 at 16:54 -0700, Bruce Korb wrote: > >> I now have an strace output file. It opens rsyncd.conf correctly > >> and reads in all the data in one gulp. I've trimmed

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Matt McCutchen
On Tue, 2010-03-23 at 16:54 -0700, Bruce Korb wrote: > I now have an strace output file. It opens rsyncd.conf correctly > and reads in all the data in one gulp. I've trimmed the strace to start from > there. Notice that it tries to open the log file and fails because it > isn't found. That fail

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Bruce Korb
Hi Matt, On Tue, Mar 23, 2010 at 4:23 PM, Matt McCutchen wrote: > "Yes" is the default, so you have to explicitly write "use chroot = no". Done. No effect. > --rsync-path='strace -f -o ~/rsync.strace rsync' to the client. I now have an strace output file. It opens rsyncd.conf correctly and r

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Matt McCutchen
On Tue, 2010-03-23 at 16:18 -0700, Bruce Korb wrote: > does the "-e ssh" invocation of rsync actually load up rsyncd.conf ? The double-colon source or destination path indicates the use of an rsync daemon (which uses an rsyncd.conf file). The explicit "-e ssh" tells the client to invoke the daemo

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Matt McCutchen
On Tue, 2010-03-23 at 16:15 -0700, Bruce Korb wrote: > On Tue, Mar 23, 2010 at 3:57 PM, Matt McCutchen > wrote: > >> $ ls -l > ... > >> -rw-r--r-- 1 root root 2451 2010-03-23 15:30 log.txt > > Oops. Fixed. Still root owned, but mode is now 0666. > > > Ah. You have "use chroot

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Bruce Korb
does the "-e ssh" invocation of rsync actually load up rsyncd.conf ? If not, that would explain why no logging. H. Maybe I need to work out a daemon over ssh tunnel now? -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://li

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Bruce Korb
Hi Matt, Thank you again. On Tue, Mar 23, 2010 at 3:57 PM, Matt McCutchen wrote: >> its 873 port -- as long as it will use a secure encrypted tunnel. > > The rsync daemon protocol on port 873 does not support encryption or > integrity protection, so an rsync daemon over ssh may actually be just

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Matt McCutchen
On Tue, 2010-03-23 at 15:50 -0700, Bruce Korb wrote: > Without the "-e ssh" I was getting no response at all. tcpdump wasn't showing > any port 873 packets, but port 22 was getting through the vyatta virtual > switch. > So, "-e ssh", though I'd actually like to get the daemon working > correctly

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Bruce Korb
Hi Matt, On Tue, Mar 23, 2010 at 3:25 PM, Matt McCutchen wrote: > On Tue, 2010-03-23 at 15:05 -0700, Bruce Korb wrote: >> Please forgive my digging up a two year old thread, but I've got the >> same problem, but the pointers there give no help.  This is using >> versions 3.0.6 (server) and 3.0.7

DO NOT REPLY [Bug 7057] Buffer overflow when sending a file with long name

2010-03-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=7057 --- Comment #6 from m...@mattmccutchen.net 2010-03-23 17:34 CST --- Re the Fedora situation, see my comment at https://bugzilla.redhat.com/show_bug.cgi?id=557916#c9 . -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=

Re: rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Matt McCutchen
On Tue, 2010-03-23 at 15:05 -0700, Bruce Korb wrote: > Please forgive my digging up a two year old thread, but I've got the > same problem, but the pointers there give no help. This is using > versions 3.0.6 (server) and 3.0.7 (client). > > Unfortunately, I have to type the client stuff in by han

rsync: connection unexpectedly closed (0 bytes received so far)

2010-03-23 Thread Bruce Korb
Please forgive my digging up a two year old thread, but I've got the same problem, but the pointers there give no help. This is using versions 3.0.6 (server) and 3.0.7 (client). Unfortunately, I have to type the client stuff in by hand. ("Secured" laptop with highlighting & copying disabled.) A