Unsolicited change of group

2003-10-08 Thread BlakJak
Using rsync to copy files on the localhost, the group is being preserved even though I have not used the -g or -a options. My source files: $ ls -l ~/working/source/path -rwxr-xr-x1 blakjak blakjak 115 Oct 8 01:37 foo.php -rwxr-xr-x1 blakjak blakjak 6285 Oct 8 01:37 bar.php

use rsync with filenames containing "-"

2003-10-08 Thread joerg . maier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey there, when i try to sync two directories or files containing a "-" character in ther path, rsync fails: # /usr/bin/rsync --partial -rcvaLe "ssh -o UserKnownHostsFile=/dev/null -o \ StrictHostKeyChecking=no" --progress "[EMAIL PROTECTED]:/path/ban

2.5.6: a number of minor issues

2003-10-08 Thread der Mouse
I just picked up rsync 2.5.6 and installed it. I haven't actually _used_ it for anything yet; this is entirely about a handful of minor issues I noticed while building it. You may care or you may not; for simplicity of language (to avoid many repeated "in case you care" and such), the text below

rsync for transferring harddrive images

2003-10-08 Thread chris
Hi, I have a project where I have to backup (copy /dev/hda on a server) and recover (copy back) hardrives from the clients. I tried this with rsync using: BACKUP: rsync /dev/hda [EMAIL PROTECTED]:/path/to/image RECOVER: rsync [EMAIL PROTECTED]:/path/to/image /dev/hda There is a problem when

Re: use rsync with filenames containing "-"

2003-10-08 Thread John Van Essen
On Wed, 8 Oct 2003, <[EMAIL PROTECTED]> wrote: >  > Hey there, >  > when i try to sync two directories or files containing a "-" character > in ther path, rsync fails: > # /usr/bin/rsync --partial -rcvaLe "ssh -o UserKnownHostsFile=/dev/null -o \ > StrictHostKeyChecking=no" --progress "[EMAIL PROTE

Re: rsync for transferring harddrive images

2003-10-08 Thread Hardy Merrill
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: > Hi, > > I have a project where I have to backup (copy /dev/hda on a server) and > recover (copy back) hardrives from the clients. I tried this with rsync > using: > > BACKUP: rsync /dev/hda [EMAIL PROTECTED]:/path/to/image > RECOVER: rsync [EMAIL

Rsync for backups - possible major speedup when local files renamed.

2003-10-08 Thread Will Smith
I use rsync regularly for backups of large trees, sometimes over low bandwidth links, and I would like to suggest a potentially major speedup under some circumstances, where files or folders are moved or renamed. The principle is simple : often people rename a file, or move it from one folder to an

Re: Unsolicited change of group

2003-10-08 Thread jw schultz
On Wed, Oct 08, 2003 at 07:57:07PM +1000, BlakJak wrote: > Using rsync to copy files on the localhost, the group is being preserved > even though I have not used the -g or -a options. > > My source files: > $ ls -l ~/working/source/path > -rwxr-xr-x1 blakjak blakjak 115 Oct 8 01:37 fo

Re: 2.5.6: a number of minor issues

2003-10-08 Thread jw schultz
On Wed, Oct 08, 2003 at 06:03:55AM -0400, der Mouse wrote: > I just picked up rsync 2.5.6 and installed it. I haven't actually > _used_ it for anything yet; this is entirely about a handful of minor > issues I noticed while building it. You may care or you may not; for > simplicity of language (t

Re: rsync for transferring harddrive images

2003-10-08 Thread jw schultz
On Wed, Oct 08, 2003 at 01:14:37PM +0200, [EMAIL PROTECTED] wrote: > Hi, > > I have a project where I have to backup (copy /dev/hda on a server) and > recover (copy back) hardrives from the clients. I tried this with rsync > using: > > BACKUP: rsync /dev/hda [EMAIL PROTECTED]:/path/to/image >

Re: Rsync for backups - possible major speedup when local files renamed.

2003-10-08 Thread jw schultz
On Wed, Oct 08, 2003 at 11:44:01PM +0800, Will Smith wrote: > I use rsync regularly for backups of large trees, sometimes > over low bandwidth links, and I would like to suggest a potentially > major speedup under some circumstances, where files or > folders are moved or renamed. > > The principle

Re: 2.5.6: a number of minor issues

2003-10-08 Thread Wayne Davison
On Wed, Oct 08, 2003 at 06:03:55AM -0400, der Mouse wrote: > I just picked up rsync 2.5.6 and installed it. I haven't actually > _used_ it for anything yet; this is entirely about a handful of minor > issues I noticed while building it. Thanks for taking the time to work up a patch. Quite a bit

Re: 2.5.6: a number of minor issues

2003-10-08 Thread jw schultz
On Wed, Oct 08, 2003 at 09:48:45AM -0700, jw schultz wrote: > On Wed, Oct 08, 2003 at 06:03:55AM -0400, der Mouse wrote: > > I just picked up rsync 2.5.6 and installed it. I haven't actually > > _used_ it for anything yet; this is entirely about a handful of minor > > issues I noticed while buildi

Re: RSync hangs up on file transfer

2003-10-08 Thread Andre Alexander Bell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thx, for your answer. On Monday 06 October 2003 20:40, jw schultz wrote: > On Fri, Aug 29, 2003 at 02:56:47PM +0200, Andre Alexander Bell wrote: > > select(8, [7], [4], NULL, {60, 0}) = 0 (Timeout) > > select(8, [7], [4], NULL, {60, 0}) = 0 (T

Re: RSync hangs up on file transfer

2003-10-08 Thread Andre Alexander Bell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 06 October 2003 20:48, jw schultz wrote: > On Mon, Oct 06, 2003 at 08:20:55PM +0200, Andre Alexander Bell wrote: > > or even -vvv did allways end up with rsync consuming no more cpu time and > > the following last output lines (or quite simil

Re: RSync hangs up on file transfer

2003-10-08 Thread jw schultz
On Wed, Oct 08, 2003 at 08:35:47PM +0200, Andre Alexander Bell wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Thx, for your answer. > > On Monday 06 October 2003 20:40, jw schultz wrote: > > On Fri, Aug 29, 2003 at 02:56:47PM +0200, Andre Alexander Bell wrote: > > > select(8, [7], [

Re: RSync hangs up on file transfer

2003-10-08 Thread jw schultz
On Wed, Oct 08, 2003 at 08:37:27PM +0200, Andre Alexander Bell wrote: > On Monday 06 October 2003 20:48, jw schultz wrote: > > updated. The third is for there to be corruption such as > > defective hardware or the destination being on nfs. > > These harddisks are 6 month old 200MB ide harddisc dr

Re: 2.5.6: a number of minor issues

2003-10-08 Thread der Mouse
> As for the doc changes, I don't like the unsplitting of the > infinitives with regard to the use of "only" -- I think it reads > better to have the "only" earlier in the sentence. > For example, I think that "only update files that already exist" > reads much better than "update only files that

rsync ksh error

2003-10-08 Thread Saquib Rahmani
Using rsync on a solaris from solaris 2.8 ( client) to solaris 2.6 ( server). Both have rsync and ssh in the path. After entering the password I get this error. ksh: rsync: not found unexpected EOF in read_timeout Thanks Saqi - Do you Yahoo!? The New Yahoo!

Re: Patch to revive tmpfiles

2003-10-08 Thread jw schultz
On Mon, Oct 06, 2003 at 03:22:04PM +0200, Hans Eric Sandström wrote: > This is a patch to fix one annoyance of having rsync processes race: > > I usually keep our servers synced with the following script, run by cron. > #!/bin/sh > lockfile -r 2 -l 1000 /tmp/synchome.lock || exit 1 > rsync -e ssh

rsync sleeps ( long sleep times )

2003-10-08 Thread Anand Raman
hi guys I am experiencing rsync freezes on my production environment. The rsync process tries to sync file systems between 2 servers over ssh. Both the environments are connected by a 512 kbps vpn connection. Taking cue from other posters to this group, I tried taking a truss dump for the rsync p

Re: Patch to revive tmpfiles

2003-10-08 Thread jw schultz
Do stay on list. On Wed, Oct 08, 2003 at 11:54:44PM +0200, Hans Eric Sandström wrote: > Do you think there should be something like: > #ifdef HAVEPROCFS > > #endif > Around the patch. It would have to be discussed. But something like that could be considered. It isn't just a matter of whether

Never up to date

2003-10-08 Thread Max Kipness
I've got a strange issue that I'm hoping someone can help out with. Just installed 2.5.6 on a Redhat 8 system. Was doing a simple test from one local directory to another (in the root) with a couple of text files in the source. Using the following command line: rsync /directory1/ /directory2/ -v

Re: Never up to date

2003-10-08 Thread Wayne Davison
On Wed, Oct 08, 2003 at 09:57:39PM -0500, Max Kipness wrote: > The Stats shows a literal data of 0, so it would appear that it > recognizes the data is in sync, but why does it show the filenames? I > thought it should only show the names of the files that have changed? For enlightenment, see the

howto enable ssh on connect to rsync daemon

2003-10-08 Thread wilma
Hi, I'm trying to setup automatic sync of files over SSH from node2 to node1. node2 is the "server" and node1 is the "client". I have setup rsync like this on the nodes which runs AIX (4.3.3 and 5.1): 1. Installed rsync from Linux Toolbox (rsync-2.5.4-1.aix4.3.ppc.rpm) on both nodes. 2. Added foll