rsync transmits unchanged data

2005-07-27 Thread Martin Kammerlander
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 so i exluded this folder. everything works fine and fast :) excludes were made...an

Re: [patch] paranoid checksum checking

2005-07-27 Thread Nick Burrett
Chris Shoemaker wrote: 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

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: rsync transmits unchanged data

2005-07-27 Thread Martin Kammerlander
Zitat von Chris Shoemaker <[EMAIL PROTECTED]>: > 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

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 synchronise a directory with the following command: > > > > > > rsyn

Re: [patch] paranoid checksum checking

2005-07-27 Thread Wayne Davison
On Wed, Jul 27, 2005 at 11:05:17AM +0100, Nick Burrett wrote: > The attached patch incorporates your suggestions, and calls the option > '--read-verify'. Note that your suggested option does not need to affect the --checksum code in any way -- that code sends pre-transfer checksums to determine if

Re: rsync transmits unchanged data

2005-07-27 Thread Wayne Davison
On Wed, Jul 27, 2005 at 10:36:05AM +0200, Martin Kammerlander wrote: > But mostly rsync copies always the same files of a certain folder > again to the destination folder...although REALLY no changes were made > to the files!? Which most likely means that something is touching the files. If you'r

Transfering very large files / and restarting failures

2005-07-27 Thread Todd Papaioannou
Hi, My situation is that I would like to use rsync to copy very large files within my network/systems. Specifically, these files are in the order of 10-100GB. Needless to say, I would like to be able to restart a transfer if it only partially succeeded, but NOT repeat the work already done. Cur

Transfering very large files / and restarting failures (again)

2005-07-27 Thread Todd Papaioannou
Woops! In my last email, I meant to say the second command was: rsync --no-whole-file --progress theFile /path/to/dest Todd Hi, My situation is that I would like to use rsync to copy very large files within my network/systems. Specifically, these files are in the order of 10-100GB. Needless

Re: hanging problem on cygwin

2005-07-27 Thread Hari Krishna Dara
On 7/26/05, Wayne Davison <[EMAIL PROTECTED]> wrote: > On Mon, Jul 25, 2005 at 04:44:00PM -0700, Hari Krishna Dara wrote: > > I am frequently facing problem with rsync as it hangs with no > > messages. > > It has been my experience that this is caused by bugs in cygwin's pipe > handling -- if you r

Re: hanging problem on cygwin

2005-07-27 Thread Hari Krishna Dara
On 7/27/05, Wayne Davison <[EMAIL PROTECTED]> wrote: > On Wed, Jul 27, 2005 at 12:04:22PM -0700, Hari Krishna Dara wrote: > > Now to avoid adding another manual step to my setup process (such as > > manually configuring inetd.conf and rsyncd.conf), I was looking at the > > options to start rsync vi

Re: hanging problem on cygwin

2005-07-27 Thread Wayne Davison
On Wed, Jul 27, 2005 at 01:59:44PM -0700, Hari Krishna Dara wrote: > I was under the impression that "--daemon --rsh" functionality is > meant to simplify the above Firstly, that syntax is wrong: it's --rsh=ssh combined with a deamon source/destination (host::module), and yes it does simplify thin

Re: Transfering very large files / and restarting failures

2005-07-27 Thread Wayne Davison
On Wed, Jul 27, 2005 at 01:50:39PM -0700, Todd Papaioannou wrote: > where both theFile and /path/to/dest are local drives. [...] > rsync -u --no-whole-file --progress theFile /path/to/dest When using local drives, the rsync protocol (--no-whole-file) slows things down, so you don't want to use it

RE: Transfering very large files / and restarting failures

2005-07-27 Thread Todd Papaioannou
Wayne, Thanks for the swift answers and insight. > > However, the stats shown during the progress seem to imply that the > > whole transfer is starting again. > > Yes, that's what rsync does. It retransfers the whole file, but it > uses the local data to make the amount of data flowing over

Re: hanging problem on cygwin

2005-07-27 Thread Hari Krishna Dara
On 7/27/05, Wayne Davison <[EMAIL PROTECTED]> wrote: > On Wed, Jul 27, 2005 at 01:59:44PM -0700, Hari Krishna Dara wrote: > > I was under the impression that "--daemon --rsh" functionality is > > meant to simplify the above > > Firstly, that syntax is wrong: it's --rsh=ssh combined with a deamon >

Need help with the rsync library and the communication protocol

2005-07-27 Thread matthias . christian
Hey, I'm currently adding rsync to pacman (http://archlinux.org/pacman). A static version of the program is used for rescue operations. Because of this it is impossible to use the rsync client programm via an execve call and we need a version implemented in C. So I started implementing it. But th

Re: rsync transmits unchanged data

2005-07-27 Thread Martin Kammerlander
Zitat von Wayne Davison <[EMAIL PROTECTED]>: Which most likely means that something is touching the files. If you're using 2.6.5, add the -i option to see what attributes have changed to trigger the copy. ..wayne.. hi ok when I use the -i flag then I get the following output: building fil