Re: rsync logging

2006-02-24 Thread Wayne Davison
On Fri, Feb 24, 2006 at 06:26:09AM +0100, Philippe BEAU wrote: I try to add log file = on each module, it was not working. There is only support for a single log file for the entire daemon or a single syslog facility. (You'll note that these options are listed under global options, not module

fuzzy match was Re: How to use multiple link-dest directories?

2006-02-24 Thread Daniel Laffien
(And while I'm in the mood, it would be nice for the man page to clarify exactly what fuzzy match matches, and what it costs. My guess is that the important case it matches is a file that is renamed, that it operates through the construction of a hash table based on file-size/mod-date per

Re: Rsync help needed...

2006-02-24 Thread lsk
I am back with the results..here are the options I tried on a 7.0 GB file. =No file on target (rm the file on the target and rsync) with rsync -czv it took 1 hr. =File on target with but header info change on source with rsync -czv it took 40 min =File on target with but header info change on

Re: Rsync help needed...

2006-02-24 Thread Mario Ohnewald
Hello, On Fri, 2006-02-24 at 05:58 -0800, lsk wrote: I am back with the results..here are the options I tried on a 7.0 GB file. =No file on target (rm the file on the target and rsync) with rsync -czv it took 1 hr. =File on target with but header info change on source with rsync -czv it

DO NOT REPLY [Bug 1959] writefd_unbuffered failed to write 4092 bytes phase send_file_entry broken pipe

2006-02-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=1959 --- Comment #14 from [EMAIL PROTECTED] 2006-02-24 08:39 MST --- I also had the same problem ocurring randomly on large file transfers between an IDE disk and a disk attached via USB2.0 using RedHat FC4 and rsync version 2.6.4 protocol

--min/max-size affects only transfer, not --delete, why?

2006-02-24 Thread bulia byak
Logically, deleting the dst file which does not exist on src amounts to transferring the non-existence of that file from src to dst. Therefore, if files larger or smaller than some size are ignored in transfer, they must just as well be ignored in deleting (much as --exclude'd files are also

Re: Rsync help needed...

2006-02-24 Thread Wayne Davison
On Fri, Feb 24, 2006 at 05:58:26AM -0800, lsk wrote: 2) And Matt could explain little more on what do you mean by atomicity What he meant is that, without --inplace, rsync creates an updated file and moves it into place, making the update atomic (i.e. none of the destination files are ever in a

Re: get_local_name

2006-02-24 Thread Wayne Davison
On Thu, Feb 23, 2006 at 11:12:07PM -0500, Matt McCutchen wrote: I have redone get_local_name again (patch attached), this time to enable rsync to remove a file to make way for a destination directory; I don't wish to do this, as this is not how cp behaves and I want to keep the behavior the

Re: rsync : connection unexpectedly closed

2006-02-24 Thread Wayne Davison
On Fri, Feb 24, 2006 at 12:07:05PM +0530, Vijay Ram.C wrote: rsync: connection unexpectedly closed (1804855 bytes received so far) [receiver] rsync: connection unexpectedly closed (39 bytes received so far) [generator] The rsync command line is given as below:

Re: Rsync help needed...

2006-02-24 Thread lsk
Wayne Davison-2 wrote: On Fri, Feb 24, 2006 at 05:58:26AM -0800, lsk wrote: 2) And Matt could explain little more on what do you mean by atomicity What he meant is that, without --inplace, rsync creates an updated file and moves it into place, making the update atomic (i.e. none of the

RE: Rsyncd log file permission

2006-02-24 Thread Jonathan Chen -X \(jonachen - The Armada Group, Inc. at Cisco\)
Thanks! That solution is fine too. Rsyncd is run as a root daemon while syncing will be performed by a regular user. -Original Message- From: Wayne Davison [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 11:18 PM To: Jonathan Chen -X (jonachen - The Armada Group, Inc.

Re: Rsync help needed...

2006-02-24 Thread Matt McCutchen
On Fri, 2006-02-24 at 11:08 -0800, lsk wrote: /// lsk:- Thanks for the clarification Wayne, in my case no one would be allowed to use the destination file until the process is complete. As soon as my destination server is upgraded to the newer version of rsync which supports --inplace

Re: --min/max-size affects only transfer, not --delete, why?

2006-02-24 Thread Matt McCutchen
On Fri, 2006-02-24 at 12:19 -0400, bulia byak wrote: Logically, deleting the dst file which does not exist on src amounts to transferring the non-existence of that file from src to dst. Therefore, if files larger or smaller than some size are ignored in transfer, they must just as well be

Rsync Setup help needed...

2006-02-24 Thread Wil Morris
Workin' on getting rsync setup in a test envioronment and not sure what needs to be done on the servers side to be able to perform the backup from the HPUX box. I do have the rsync app in place on the HPUX system however can't connect to the servers port 22 ... have searched all over the

Re: Rsync help needed...

2006-02-24 Thread Linus Hicks
Matt McCutchen wrote: On Fri, 2006-02-24 at 11:08 -0800, lsk wrote: /// lsk:- Thanks for the clarification Wayne, in my case no one would be allowed to use the destination file until the process is complete. As soon as my destination server is upgraded to the newer version of rsync

Re: rsync through a server storing the changes, time delayed rsync

2006-02-24 Thread Matt McCutchen
On Tue, 2006-02-21 at 11:28 -0500, Carson Gaspar wrote: --On Tuesday, February 21, 2006 4:48 PM +0100 Torbjörn Nordling [EMAIL PROTECTED] wrote: Problem: I have two computers (one at work and one home) and I want to keep them identical, but I cannot rsync them directly because when one

Re: Rsync help needed...

2006-02-24 Thread Matt McCutchen
On Fri, 2006-02-24 at 18:40 -0500, Linus Hicks wrote: I did something similar to what lsk is doing a few months back, I believe using rsync 2.6.5. I wrote a script to query the database for all the datafiles and rsync'ed them individually by specifying the full path to the file. What I

DO NOT REPLY [Bug 3554] New: Second copy of same rsync daemon should notice pid file and quit

2006-02-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3554 Summary: Second copy of same rsync daemon should notice pid file and quit Product: rsync Version: 2.6.7 Platform: All OS/Version: All Status: NEW Severity:

Re: preventing rsync transfers

2006-02-24 Thread Matt McCutchen
On Thu, 2006-02-23 at 00:06 -0500, Peter wrote: Now I'm thinking: What if these operations overlap? What can I do to prevent this? Or is this even a problem to begin with? I don't think anything will go seriously wrong, although you may get some strange effects. The main one is that the

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 09:34:44 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv1995 Modified Files: util.c Log Message: Made create_directory_path() return -1 if it couldn't create some portion of the filename's path. Revisions: util.c 1.197

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 09:35:47 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv2248 Modified Files: generator.c Log Message: A recently added stat() call needed to be do_stat(). Revisions: generator.c 1.262 = 1.263

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 16:43:44 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv329 Modified Files: backup.c clientname.c compat.c generator.c hlink.c io.c match.c receiver.c Log Message: Got rid of unused externs. Revisions: backup.c

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 17:54:30 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv26267 Modified Files: options.c Log Message: Added the new --copy-dirlinks (-k) option. Revisions: options.c 1.329 = 1.330

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 17:54:35 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv26294 Modified Files: flist.c Log Message: - Got rid of unused externs. - Added support for copy_dirlinks. - Fixed a bug where --copy-links would not affect implied dirs

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 17:54:41 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv26314 Modified Files: main.c Log Message: Make sure the receiver resets copy_dirlinks (so that it can't affect the delete scan). Revisions: main.c 1.297 = 1.298

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 17:54:47 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv26342 Modified Files: rsync.yo Log Message: - Document the new --copy-dirlinks option. - Improved the docs for --no-implied-dirs and --keep-dirlinks (based on a patch from

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 17:54:57 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv26372 Modified Files: rsync.1 Log Message: Regenerated. Revisions: rsync.1 1.370 = 1.371 http://www.samba.org/cgi-bin/cvsweb/rsync/rsync.1?r1=1.370r2=1.371

CVS update: rsync

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 17:58:24 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv30223 Modified Files: NEWS Log Message: Document the latest changes. Revisions: NEWS1.374 = 1.375

CVS update: rsync/patches

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 18:03:01 2006 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv3262 Modified Files: backup-dir-dels.diff fsync.diff threaded-receiver.diff Log Message: Fixed failing hunks. Revisions: backup-dir-dels.diff1.51 =

CVS update: rsync/packaging

2006-02-24 Thread Wayne Davison
Date: Fri Feb 24 19:50:23 2006 Author: wayned Update of /data/cvs/rsync/packaging In directory dp.samba.org:/tmp/cvs-serv27404 Modified Files: release-rsync Log Message: Tweaked a sentence. Revisions: release-rsync 1.5 = 1.6