New feature request.

2004-06-03 Thread Mick Hellstrom
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 People, I have just been in the throws of setting up a ClearCase MultiSite environment, (if you don't know what it is it's irrelevant anyway), between two countries, and a thought struck me. I have the situation where I want to anony

Use (or not) of hard links

2004-06-03 Thread John
I am not subscribed to this list. I anticipated that with this set of options rsync --recursive --links --hard-links --perms --owner --group \ --devices --times --sparse --one-file-system --rsh=/usr/bin/ssh \ --delete --delete-excluded --delete-after --max-delete=80 --relative \ --stats --nume

rsync 2.6.2 doesn't work with GNU inetutils rsh

2004-06-03 Thread Anthony Heading
Hi, Not sure when this stopped working, because I'm sure it used to. This is the cygwin build of rsync, with the standard cygwin rsh (which is a fairly old GNU inetutils 1.3.2). ~=> rsync --rsh=rsh -vv bibble: opening connection using rsh bibble rsync --server --sender -vvr . rsh: unknown opt

Re: Bug reporting

2004-06-03 Thread John
Not being on the list, I didn't see this earlier. Terry said > John wrote: > > > Possibly rsync can use ssh to forward a local port chosen the same way ftp > > chooses a port fo active ftp. Then local rsync opens a connexion to > > 127.0.0.1:port at the local end, and ssh forwards the stream to

Re: question

2004-06-03 Thread Wayne Davison
On Thu, Jun 03, 2004 at 09:58:40PM +0200, [EMAIL PROTECTED] wrote: > rsync -e scriptname (content of script) > in scripts > ssh -i ~/.ssh/id_rsa /home/mysql host:/usr/src This is very hard to decypher, but it looks like you may have put rsync options in your ssh script. Also, don't use '~' -- it

Re: rsync preserving symlinks on mirror

2004-06-03 Thread Wayne Davison
On Thu, Jun 03, 2004 at 08:54:24PM +0200, Keld J?rn Simonsen wrote: > Hmm, I want to keep the symlinks in the original tree. So I think there > is no way to have both: keeping the original symlinks and having my own > symlinks are mutually exclusive options. Yes, and I apparently got your transfe

Re: question

2004-06-03 Thread sc2
hello a.) ssh with key alone works fine (ssh -i key host command) b.) i try too the method like from "braunsdorf" (write e shells cript with ssh commands then rsync -e script) maybe i just to stupid for the rsync commands here what i need or ? rsync -e scriptname (content of script) in scripts ssh

Re: rsync preserving symlinks on mirror

2004-06-03 Thread Keld Jørn Simonsen
On Thu, Jun 03, 2004 at 10:41:06AM -0700, Wayne Davison wrote: > On Thu, Jun 03, 2004 at 07:23:33PM +0200, Keld J?rn Simonsen wrote: > > I would like to be able to just do a > > symlink from the original tree to the directory on the raid, > > Then you must either (1) tell rsync to expand all syml

Re: rsync preserving symlinks on mirror

2004-06-03 Thread Wayne Davison
On Thu, Jun 03, 2004 at 07:23:33PM +0200, Keld J?rn Simonsen wrote: > I would like to be able to just do a > symlink from the original tree to the directory on the raid, Then you must either (1) tell rsync to expand all symlinks, (2) avoid having rsync copy the non-matching symlink, (3) duplicate

Re: question

2004-06-03 Thread Wayne Davison
> rsync -e "ssh -i key" ..etc etc does not work The best thing you can do is to use -vv to see what command rsync is running and then try a similar command (e.g. use "rsync --help" instead of the server command) to see what is going wrong with your ssh setup. Also, avoid a path that requires shell

rsync preserving symlinks on mirror

2004-06-03 Thread Keld Jørn Simonsen
Hi! I am using rsync succesfully to maintain my mirrors. I have one problem, tho. To improve speeds of my filesystems, I have created a raid 0 of 4 disks, and I place the most heavily copied disks there. The fs has subdirectories, one for each set of typically .iso files, such as Mandrakelinux or

Re: IP not logged in log file

2004-06-03 Thread Wayne Davison
On Thu, Jun 03, 2004 at 09:43:48AM -0400, John Taylor wrote: > I think rsync should also check $SSH_CONNECTION. This shows up in > newer versions of ssh/sshd. Thanks for the nudge. I googled the ssh project and it appears that SSH_CLIENT is now deprecated, so SSH_CONNECTION is the preferred vari

Re: question

2004-06-03 Thread Terry Dooher
I had this problem trying to script an unattended backup. (rsync 2.6.1 on cygwin) I found that if you need to pass command line arguments to ssh you need to use: rsync --rsh="ssh -i key" Using -e, if I remember it correctly, just tries to execute a command called "ssh -i key" which, obviously,

question

2004-06-03 Thread sc2
hello i looked in google , faq etc but didnt found a answer. sorry if i overseen something. how i can auth. via a hostkey without make a config in ~/.ssh normaly ssh has support with ssh -i /keyfile is there any way to combine it via rsync , with rsync -e "ssh -i key" ..etc etc does not work thx

Re: IP not logged in log file

2004-06-03 Thread John Taylor
On Thu, Jun 03, 2004 at 12:30:53AM -0700, Wayne Davison wrote: > On Fri, May 28, 2004 at 09:05:42AM -0700, Bill Moseley wrote: > > I just setup rsync on Solaris 2.6 and my log file shows: > > 2004/05/28 07:54:03 [20996] rsync allowed access on module foo from 0.0.0.0 > > (0.0.0.0) > > This messag

Re: IP not logged in log file

2004-06-03 Thread Bill Moseley
On Thu, Jun 03, 2004 at 12:30:53AM -0700, Wayne Davison wrote: > On Fri, May 28, 2004 at 09:05:42AM -0700, Bill Moseley wrote: > > I just setup rsync on Solaris 2.6 and my log file shows: > > 2004/05/28 07:54:03 [20996] rsync allowed access on module foo from 0.0.0.0 > > (0.0.0.0) > > This messag

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

2004-06-03 Thread Tim Conway
I would suggest that you put those commandlines into scripts, and redirect stdout, stderr, AND stdin - "rsync -av --delete /mnt/web1 /mass/kuurne/day logfile 2>&1", for instance, or if you're wanting it just mailed like cron will do, "rsync -av --delete /mnt/web1 /mass/kuurne/day &1 |mail $USER

Re: [patch] Filename conversion

2004-06-03 Thread Wayne Davison
On Sat, May 29, 2004 at 10:20:19PM +0300, Eran Tromer wrote: > Attached is a patch against rsync 2.6.2 that adds an "--fname-convert" > option. Looks like I neglected to respond to this patch several days ago when I modified it to apply to the CVS version and then put the diff into the patches dir

Re: IP not logged in log file

2004-06-03 Thread Wayne Davison
On Fri, May 28, 2004 at 09:05:42AM -0700, Bill Moseley wrote: > I just setup rsync on Solaris 2.6 and my log file shows: > 2004/05/28 07:54:03 [20996] rsync allowed access on module foo from 0.0.0.0 (0.0.0.0) This message is only output if you're running a daemon rsync over a remote shell connecti

Re: what does lp_log_file mean??

2004-06-03 Thread Wayne Davison
On Tue, Jun 01, 2004 at 09:10:54AM +, Guo jing wrote: > There are many reference such as lp_log_file, lp_uid, lp_include_from, > etc. in the file clientserver.c and log.c . Who can tell what do they > mean? Are they functions? Where I can find the particular information > about them? Th