windows and log time with %t is not displayed

2004-02-25 Thread Calis, Edwin
Brian, In the windows environment just call %time% before the %t it will add the time to the log. Greetings Edwin Calis -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: ssh and rsyncd.conf

2004-02-25 Thread Paul Slootman
On Tue 24 Feb 2004, Jacque Mergens wrote: rsync -rsh=/usr/bin/ssh filename host:/dir/filename But I am not able to perform this rsync -rsh=/usr/bin/ssh filename host:module_name No, because mdoules are only handled by the rsync daemon, which is contacted via its own tcp port.

Re: --exclude and --delete

2004-02-25 Thread Paul Slootman
On Wed 25 Feb 2004, andrew wrote: rsync -av --exclude /user/profile/ --delete /home/user [EMAIL PROTECTED]:/home This works as I expect, sender:/home/user/profile/ is not copied, except that receiver:/home/user/profile/ is deleted. Hmm, wouldn't the exclude need to be /profile, as the

Recall: windows and log time with %t is not displayed

2004-02-25 Thread Calis, Edwin
Calis, Edwin would like to recall the message, windows and log time with %t is not displayed. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Speed up rsync ,cwRsync and replay changes against a file

2004-02-25 Thread Reuben Pearse
Hi guys, I recently installed and setup cwRsync on a Windows 2000 Server - http://www.itefix.no/cwrsync/ -, and I was very impressed. I just followed the instructions on the website and got it working. I am using it to mirror 30Gb's of mailboxes everynight (only grabbing the changes to each

Rsync under cygwin

2004-02-25 Thread Darragh Sherwin
Hi, I have rsync client and servers running under 3 Win2K boxes, and I can sync when the source is remote and the target is local, but when the source is local and the target is remote, I get the following error: rsync.exe --recursive /cygdrive/d/BILLS_CMS rsync://192.168.213.102/PWB3 rsync:

exclude everything and include directories

2004-02-25 Thread Don Shesnicky
I'm trying to update some laptops from a large server directory for an EDA app. Most of the time I just rsync the entire directory and exclude the odd item. In this case it's the reverse where I want to exclude everything but include only the odd directory. I thought it'd be easy but can't seem

[patch] Correct configure test for sin_len to compile on Tru64 Unix

2004-02-25 Thread Petter Reinholdtsen
The last versions of rsync fail to compile on Tru64 Unix (alpha), because of a typo in configure.in. The problem is that the code in configure check for sockaddr.sa_len, while the code uses sockaddr.sin_len. This patch fixes the problem. Please include it in the next version of rsync. diff

Re: patch to avoid race condition in rsync 2.5.6

2004-02-25 Thread Petter Reinholdtsen
Any hopes of getting this patch included into rsync? The problem is still present in rsync 2.6.0. [Petter Reinholdtsen, 2003-05-20] There is a small race condition in rsync 2.5.6. When the transfer is finished, and the file is moved into place, there is a short time period where the new

Re: SV: Rsync under cygwin

2004-02-25 Thread Darragh Sherwin
Hi Tevfik, I'm gettting the same error when I try that command. Thanks Tevfik Karagulle wrote: Hi, Try rsync.exe --recursive /cygdrive/d/BILLS_CMS 192.168.213.102::PWB3 Rgrds Tev -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] vegne av Darragh Sherwin Sendt:

Re: Speed up rsync ,cwRsync and replay changes against a file

2004-02-25 Thread Craig Barratt
I recently installed and setup cwRsync on a Windows 2000 Server - http://www.itefix.no/cwrsync/ -, and I was very impressed. I just followed the instructions on the website and got it working.=20 I am using it to mirror 30Gb's of mailboxes everynight (only grabbing the changes to each

Re: patch to avoid race condition in rsync 2.5.6

2004-02-25 Thread Wayne Davison
On Wed, Feb 25, 2004 at 01:47:56PM +0100, Petter Reinholdtsen wrote: Any hopes of getting this patch included into rsync? The problem is still present in rsync 2.6.0. Unfortunately, that patch is too simplistic -- e.g. it doesn't handle the case where the file had to be copied into place.

Re: patch to avoid race condition in rsync CVS

2004-02-25 Thread Wayne Davison
OK, here's a patch that tries to deal with the case of the rename resulting in a copy. It also attempts to deal with the possibility that the source of the copy might not have read permissions set, and the destination of the copy might not have write permissions. This passes make check, but no

rsync rotated logs

2004-02-25 Thread Andrzej Filip
What is the best way to keeps rsynced copy of rotate log files ? x.log - x.log.1 - x.log.2.gz - ... Can rsync notice changes of file name and avoid needless synchronization ? -- Andrzej [en:Andrew] Adam Filip [EMAIL PROTECTED] [EMAIL PROTECTED] http://anfi.webhop.net http://slashdot.org/~anfi

Re: --exclude and --delete

2004-02-25 Thread andrew
Paul Slootman wrote: On Wed 25 Feb 2004, andrew wrote: rsync -av --exclude /user/profile/ --delete /home/user [EMAIL PROTECTED]:/home This works as I expect, sender:/home/user/profile/ is not copied, except that receiver:/home/user/profile/ is deleted. Hmm, wouldn't the exclude need to be

Re: --exclude and --delete

2004-02-25 Thread John Van Essen
On Thu, 26 Feb 2004, andrew [EMAIL PROTECTED] wrote: Paul Slootman wrote: On Wed 25 Feb 2004, andrew wrote: rsync -av --exclude /user/profile/ --delete /home/user [EMAIL PROTECTED]:/home This works as I expect, sender:/home/user/profile/ is not copied, except that

Re: --exclude and --delete

2004-02-25 Thread andrew
Wayne Davison wrote: On Wed, Feb 25, 2004 at 02:32:47PM +1100, andrew wrote: rsync -av --exclude /user/profile/ --delete /home/user [EMAIL PROTECTED]:/home This works as I expect, sender:/home/user/profile/ is not copied, except that receiver:/home/user/profile/ is deleted. I can't

Re: --exclude and --delete

2004-02-25 Thread andrew
John Van Essen wrote: rsync -av --exclude /user/profile/ --delete /home/user [EMAIL PROTECTED]:/home Since there is no trailing slash on '/home/user', the sender root is at '/home/', so the exclude pattern is correct in that case. But the receiver path is '/home', so the root for building the

Re: rsync rotated logs

2004-02-25 Thread Wayne Davison
On Wed, Feb 25, 2004 at 11:14:47PM +0100, Andrzej Filip wrote: What is the best way to keeps rsynced copy of rotate log files ? x.log - x.log.1 - x.log.2.gz - ... Can rsync notice changes of file name and avoid needless synchronization ? One thing you can do is to run the same log-rotate

Re: remote files not being deleted

2004-02-25 Thread Wayne Davison
On Wed, Feb 25, 2004 at 08:36:26PM -0600, Trey Nolen wrote: rsync -avR -e ssh --numeric-ids --delete --progress --delete-after --ignore-errors --exclude /proc/ / [EMAIL PROTECTED]:/ That lack of deletion is fixed in 2.6.0. You can work around the problem by either getting rid of the -R option

Re: remote files not being deleted

2004-02-25 Thread jw schultz
On Wed, Feb 25, 2004 at 08:36:26PM -0600, Trey Nolen wrote: I've got an issue with remote files being deleted after the local file has been deleted. For some reason, this isn't happening. I'm running rsync 2.5.6 protocol 26 (yes, I know there are newer versions, but logistics dictates that I

CVS update: rsync

2004-02-25 Thread Wayne Davison
Date: Wed Feb 25 21:20:59 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv16810 Modified Files: rsync.c Log Message: Tweaked some comments and some whitespace. Revisions: rsync.c 1.132 = 1.133

CVS update: rsync

2004-02-25 Thread Wayne Davison
Date: Thu Feb 26 04:03:44 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv29263 Removed Files: acconfig.h Log Message: No longer needed. Revisions: acconfig.h 1.14 = NONE

CVS update: rsync

2004-02-25 Thread Wayne Davison
Date: Thu Feb 26 04:04:00 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv29280 Modified Files: configure config.h.in Log Message: Regenerated. Revisions: configure 1.176 = 1.177