Re: SSH command when uploading files

2003-03-13 Thread Bennett Todd
2003-03-13T07:33:52 Reckhard, Tobias: > However, from the output of "rsync -vvv ..." on the client and "sshd -d ..." > on the server it appears to me that no command is passed to the sshd on the > server when uploading data. I'm not sure about those techniques for finding it, I haven't tried 'em,

Re: rsyncing files in flash

2003-02-25 Thread Bennett Todd
2003-02-25T11:25:29 wim delvaux: > I wonder how rsync works when files-to-be-updated are in flash > (e.g. on IPAQ) Same thing that happens anywhere, as long as the flash is presented as a filesystem with POSIX semantics to a platform where rsync can run. I use rsync for automatic backups of Memory

Re: 2 Way Syncing

2003-02-25 Thread Bennett Todd
2003-02-25T09:48:12 Bennett Todd: > 2003-02-25T08:52:38 va_public <[EMAIL PROTECTED]>: > > Why not just use rsync as mentioned in the FAQ for this? > > > > rsync --update source target > > rsync --update target source > > The difference is there's

Re: Difference in behaviour with --backup

2003-02-25 Thread Bennett Todd
Cc-ing this back to the rsync list. Vikas added some more info in an off-list mail to me, that straightened things out in my mind, pointing out that if the dst file is specified on the cmdline as a simple basename, because you've cd-ed to the target dir and are doing a pull, then rsync does just as

Re: 2 Way Syncing

2003-02-25 Thread Bennett Todd
2003-02-25T08:52:38 va_public <[EMAIL PROTECTED]>: > --- In [EMAIL PROTECTED], Wayne Davison <[EMAIL PROTECTED]> wrote: > > On Mon, Feb 24, 2003 at 08:13:15PM -0800, Len Sh wrote: > > > I need to be-able to sync both ways so the files can be changed on > > > either server? > > > > I recommend usi

Re: rsync in-place (was Re: rsync 1tb+ each day)

2003-02-05 Thread Bennett Todd
2003-02-05T07:41:22 Craig Barratt: > The trick is that when --inplace is specified the block matching > algorithm (on the sender) would only match blocks at or after that > block's location (on the receiver). ... and only when the source block in question remains unchanged in the new file? > No p

rsync in-place (was Re: rsync 1tb+ each day)

2003-02-04 Thread Bennett Todd
2003-02-04T14:29:48 Kenny Gorman: > Is it possible to tell rsync to update the blocks of the target file > 'in-place' without creating the temp file (the 'dot file')? I can > guarantee that no other operations are being performed on the file at > the same time. The docs don't seem to indicate

Re: restricting rsync over ssh on the server side.

2003-01-07 Thread Bennett Todd
This has been discussed before. The only way to restrict what rsync-over-ssh can do is to lodge the restriction in the authorized_keys command= field, restricting what command a given key can run. For a single rsync invocation it's easy to figure out: just set up command=/path/to/wrapper

Re: multiple sessions to same destination

2002-10-10 Thread Bennett Todd
2002-10-10-16:09:16 Derek Simkowiak: > I'd like to know what you mean by "rsync handles it fairly well". > Any information you have would be greatly appreciated. I think I can help a little here. Each rsync at the destination has its own separate remote rsync process whacking on the file. Rsync

Re: Fundamental rsync design question.

2002-07-29 Thread Bennett Todd
2002-07-29-12:11:54 Biju Perumal: > [ why rsync's design rather than accumulating diffs ] The approach you describe is quite often used. Look in the neighborhood of source code control systems used in distributed ways, and you'll see it all the time. I've also used it in the past for software dis

Re: superlifter design notes (was Re: Latest rZync release: 0.06)

2002-07-25 Thread Bennett Todd
2002-07-21-04:12:55 jw schultz: > On Thu, Jul 11, 2002 at 07:06:29PM +1000, Martin Pool wrote: > >6. No arbitrary limits: this is related to scalability. > > Filesizes and times should be 64-bit; names should be > > arbitrarily long. > > File sizes, yes. Times, no. unsigned 32

Re: Linux and Solaris performance

2002-07-17 Thread Bennett Todd
Is the hardware comparable? It can be hard finding truly comparable hardware between sparc and x86 --- performance is a multidimensional attribute, and any given pair of boxes will scale differently on different performance metrics. Any given application of rsync will weight various performance me

Re: restricting rsync over ssh

2002-05-30 Thread Bennett Todd
2002-05-29-15:55:09 Brian D. Hamm: > No harsh programming statements please this was my first crack at Perl > :) I'll avoid any harsh statements:-). Your code is not particularly idiomatic perl, but it's exceptionally clear, and as far as I can see correct. You note in a comment one spot where y

Re: restricting rsync over ssh

2002-05-29 Thread Bennett Todd
On Wed, May 29, 2002 at 11:04:37AM -0600, [EMAIL PROTECTED] wrote: > I don't know ssh well enough to know whether it passes parameters besides > the ones specified in authorized_keys. I think it passes parameters, > though, because rsync over ssh is the basis of the IBM Content Promotion > Too

Re: restricting rsync over ssh

2002-05-23 Thread Bennett Todd
On Wed, May 22, 2002 at 10:01:27PM -0400, Brian D. Hamm wrote: > The --server --sender options left me a little confused. I understand > what they stand for but these options are not in the help and they don't > appear to be variables. Yes indeed, as I tried to indicate, rsync has a private proto

Re: restricting rsync over ssh

2002-05-22 Thread Bennett Todd
2002-05-22-14:00:27 Brian D. Hamm: > Is it true that when running rsync via ssh (i.e. rsync -e ssh ...) > the rsyncd.conf file is not applicable [...] Yup. Exactly right. When you're using ssh (or rsh, as far as rsync is concerned they're interchangeable plug parts) the rsync client you invoke fr

Re: SSH

2002-01-23 Thread Bennett Todd
2002-01-23-09:08:58 [EMAIL PROTECTED]: > David L Nickel schrieb am Wed, Jan 23, 2002 at 09:02:30AM -0500: > > I added the enviroment variable RSYNC_RSH=ssh and every things seems to work > > fine, but there is no way to tell if rsync is actually using ssh or not? > > a. when in progress, watch to

Re: Can we encrypt copied files on target machine?

2001-10-10 Thread Bennett Todd
How about using something like the Cryptographic File System (CFS), where the files are stored encrypted locally, and the encryption is confined to blocks. This is done to make the encrypted files random-addressable in the CFS implementation, but a consequence it seems to me is that at least some

Re: Transfering File List

2001-01-03 Thread Bennett Todd
2001-01-03-15:20:28 Dave Dykstra: > In versions 2.3.2 and earlier, rsync had an optimization that I > put in such that if the end of the list was --exclude '*' and > the earlier includes didn't have any wildcards, it would skip > the recursive traversal of the directories and just directly > open

Re: Transfering File List

2001-01-02 Thread Bennett Todd
2001-01-02-15:32:35 Goswin Brederlow: > rsync $FLAGS $HOST::debian/pool/ --include-from .filelist --exclude '*' $DEST/pool/ > > This will mirror everything from HOST::debian/pool to DEST/pool, so > there you see how to shorten the path. > > But "--exclude '*'" will ignore all files except what h

Re: Interrupted transfer of a file

2000-12-22 Thread Bennett Todd
2000-12-22-16:11:08 Richard Odom: > If a new file is being sent and communication is lost..Is the partial > file retained and then only the 'changed' information is sent on the > next transfer? Or is the partial file lost? Either way, that's controlled by the "--partial" option. If you must keep

Re: remshd: Login incorrect. unexpected EOF in read_timeout ???

2000-12-13 Thread Bennett Todd
2000-12-13-16:25:05 Nancy Pham: > When I rsh to the remote site, a login and a password is required. But when I run > rsync, I do not get prompted for a password and a login. How do I run rsync from the > command line with a login and a password? Unless you can find you --- or build, perhaps usin

trailing slash (was Re: Multiple directory copies)

2000-12-08 Thread Bennett Todd
2000-12-08-05:24:50 John Horne: > On 07-Dec-00 at 19:53:51 Dave Dykstra wrote: > > Having a slash at the end of the source specification removes the base > > name of the source from the destination filename. > > > Hmm, easy when you know how eh? :-) "It says there on the list of ingredients, rig

Re: rsync and exclude patterns

2000-12-05 Thread Bennett Todd
2000-12-05-13:09:45 Dave Dykstra: > You understand correctly, this is a known bug. [...] There's not > an easy solution, however, because the function rsync uses to > do wildcard matches, fnmatch(), cannot completely implement the > semantics as described in the rsync man page. As an alternative

Re: Security

2000-11-14 Thread Bennett Todd
2000-11-14-05:26:08 Liston Johnson: > Can anyone give me some examples of using rsync with ipchains in > order to stop someone from the outside using rsync to copy > files/directories from a server. Well, you need to know the port number (I'll assume you're running your rsyncd on the default port

Re: filelist

2000-11-03 Thread Bennett Todd
2000-11-03-13:02:22 Andy Small: > 2000-11-02-17:56:56 Bennett Todd: > > There's been discussion about doing away with this, letting > > rsync work through something like a depth-first sorted-order > > traversal or some such, both ends could do that in synch, with >

Re: FAQ ???

2000-11-02 Thread Bennett Todd
2000-11-02-19:23:39 Martin Pool: > My feeling is that eventually the existing code will suffer metal > fatigue from all these changes. Sooner or later we should pull the > core algorithm out and put it into a new framework and protocol. > Scripting will be an important part of that, though there a

Re: FAQ ???

2000-11-02 Thread Bennett Todd
2000-11-02-15:17:27 Andy Small: > I searched the archive of last 3 months of this list for a FAQ > posting, but I could not find one. I haven't seen such a document, but this mailing list seems to work pretty well, and the repetition rate I've seen hasn't been enough to drive me to FAQ. > Where

Re: rsync server Vs rsync call

2000-11-02 Thread Bennett Todd
Disclaimer: I've never tried rsync's server (daemon) mode, don't know anything about using it. I always use rsync over ssh. If you have ssh available, I recommend it very highly. It should be a great match for your needs here. > 1) I don't have the root privilage for two unix machines and I >

Re: why are things copying?

2000-10-31 Thread Bennett Todd
2000-10-30-12:26:00 Paul D. Smith: > I figured out the problem. My arguments to rsync were causing the > remote tree to be reconstructed one level down from where I wanted > it to go [...] Hooray! Congratulations! Glad your problem isn't any more. For whatever it's worth --- and not to disagree

Re: why are things copying?

2000-10-30 Thread Bennett Todd
I agree with Martin Pool's diagnosis about --times, or --archive which includes it along with many other options. If some of the systems can't represent file mod times to the same resolution, the --modify-window option may be helpful as well. If you don't care to update timestamps, you can use --

Re: I also am getting hang/timeout using rsync 2.4.6 -e ssh

2000-10-27 Thread Bennett Todd
2000-10-26-18:13:28 Harry Putnam: > OK, upgrade it is, but do you know of any rpms available? 2.4.4 seems > to be the most recent rpm shipping with redhat=7.0 If you just fetch the tarball from the rsync home http://samba.anu.edu.au/rsync/>, you can put that in /usr/src/redhat/SOURCES/, cd to th

Re: Bi-Directional rsync

2000-10-13 Thread Bennett Todd
2000-10-13-18:15:14 Rylan W. Hazelton: > But we are developing some sites that allow users to upload files. And > I need rsync to if a user uploads a file to one of the slave webservers > to get it to all the others. > > I was thinking of just rsyncing the "upload" dir back to the master > serve

Re: Bi-Directional rsync

2000-10-13 Thread Bennett Todd
2000-10-13-17:54:11 Rylan W. Hazelton: > I have searched high and low and cannot find any information about > using rsync to do a Bi-Directional rsync. > > Can it be done? Can anyone help? Depends on your usage pattern. I designed a system once where records were being stored in a database with

Re: action with open/modified files

2000-10-13 Thread Bennett Todd
2000-10-13-17:42:32 Mark W. Eichin: > Actually, systems like AFS (soon to be OpenAFS, in the next > month or so...) *do* "perfect" backups, involving creating > "backup volumes" (a useful thing to have around anyway, > basically a nearly-free clone) and then the offline backups are > made from tho

Re: logging transfers to a file

2000-09-21 Thread Bennett Todd
2000-09-20-22:53:53 Eric Whiting: > I have used the shell redirection stuff to capture stdout/stderr from > programs. But this time I'm trying to do a parallel rsync from a single > server to multiple clients all at the same time. The server has 2G RAM > and can handle the concurrent rsyncs. > >

Re: users allow deny

2000-09-05 Thread Bennett Todd
2000-09-05-15:13:33 Cynthia Spangler: > I know I have read about a file that you can make to allow various users > to use rsync. Also various hosts. I've spent the past two hours trying > to find where I read that! Don't know about one specific file. It depends first and foremost on what sort o