Re: rsync Digest, Vol 163, Issue 1
Check if the FAQ here can be helpful: https://www.itefix.net/content/permissions-filesdirectories-are-clutteredmixed Tev 2016-07-01 14:00 GMT+02:00: > Send rsync mailing list submissions to > rsync@lists.samba.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.samba.org/mailman/listinfo/rsync > or, via email, send a message with subject or body 'help' to > rsync-requ...@lists.samba.org > > You can reach the person managing the list at > rsync-ow...@lists.samba.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of rsync digest..." > > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > > --- > Today's Topics: > >1. rsync on Windows questions (Fabian Cenedese) >2. Re: rsync on Windows questions (Simon Hobson) >3. Re: rsync on Windows questions (Fabian Cenedese) >4. Re: rsync on Windows questions (Fabian Cenedese) > > > -- Videresendt e-post -- > From: Fabian Cenedese > To: rsync@lists.samba.org > Cc: > Date: Fri, 01 Jul 2016 09:15:30 +0200 > Subject: rsync on Windows questions > Hi > > I'm using a cygwin compiled rsync on Windows to backup > and restore files from my local Windows computer. I'm trying > several destination types: > > - remote with rsync:// > - Samba share \\Server\Share > - local drive > > I'm having problems with the user rights. The backup works > ok but after restoring some files I can't access them. I've > read that this is because rsync runs as cygwin user and the > *ix rights are completely different than the Windows ACLs. > I've tried various combinations of -o -g -acl -p etc. But none > worked so I could access my files immediately. Some people > had success when adding in their cygwin /etc/fstab a mount > parameter noacl. However I don't have a full cygwin, only the > rsync binary and the necessary cygwin dlls. The only > parameter that helped somehow was > > --chmod=a=rwx,Da+x > > Is there no other possibility? Can I maybe tell cygwin to use > a custom fstab from my installation directory? How do other > people use rsync on Windows? > > And a second question: Do --copy-dest or --link-dest > help on local targets? Or does this create even > more stress on the disk? > > Thanks > > bye Fabi > > > > > > > -- Videresendt e-post -- > From: Simon Hobson > To: "rsync@lists.samba.org" > Cc: > Date: Fri, 1 Jul 2016 09:12:19 +0100 > Subject: Re: rsync on Windows questions > Fabian Cenedese wrote: > > > I'm having problems with the user rights. The backup works > > ok but after restoring some files I can't access them. > > That's to be expected. > NTFS has a very rich permissions system and rsync won't be capturing that. > While it's a PITA, your best best is resetting permissions after restore. > It's probably as 'simple' (for your own documents etc) to select the top > level folder they are in, go to permissions, and have Windows re-apply them > recursively - but as to the exact steps, I can't remember as Windows is > something I avoid as much as I can get away with. > > It's actually rather funny, but sad, that NTFS has a security model > waay more capable and nuanced than most Unix systems (even some with > ACLs) - yet until relatively recently, Windows didn't take advantage of > this. > > > And a second question: Do --copy-dest or --link-dest > > help on local targets? Or does this create even > > more stress on the disk? > > I don't think NTFS supports hard links, and if it doesn't then link-dest > won't work anyway. > > Overall, while rsync is a good tool for many things, for backups in the > Windows world it's probably not a good fit except for your own documents > where it's "easy" to reset file permissions after a restore. Trying to do > other than documents (ie the system and applications) is pretty well > guaranteed to lead to security permissions screwed up to the point where > it's not worth doing the backup in the first place. > > > > > > -- Videresendt e-post -- > From: Fabian Cenedese > To: "rsync@lists.samba.org" > Cc: > Date: Fri, 01 Jul 2016 10:35:00 +0200 > Subject: Re: rsync on Windows questions > At 10:12 01.07.2016, Simon Hobson wrote: > >> I'm having problems with the user rights. The backup works > >> ok but after restoring some files I can't access them. > > > >That's to be expected. > >NTFS has a very rich permissions system and rsync won't be capturing > that. While it's a PITA, your best best is resetting permissions after > restore. It's probably as 'simple' (for your own documents etc) to select > the top level folder they are in, go to permissions, and have Windows > re-apply
Re: rsync Digest, Vol 107, Issue 24
Hi, Some explanations regarding cwRsync: cwRync installers (both client and server) are now available as a paid download bundle. Installer sources, however, are still available as free upon contact. Please keep in mind that installer sources are not enough to build cwRsync installers: You need to build up a complete Cygwin environment, compile/copy binaries in the package. It may be time consuming. That's why paying a reasonable price for the installer itself can be an alternative as well. NB! I have notified Rsync website before changes are made. Best regards Tev cwRsync maintainer/developer On Sat, Nov 26, 2011 at 8:00 PM, rsync-requ...@lists.samba.org wrote: Send rsync mailing list submissions to rsync@lists.samba.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.samba.org/mailman/listinfo/rsync or, via email, send a message with subject or body 'help' to rsync-requ...@lists.samba.org You can reach the person managing the list at rsync-ow...@lists.samba.org When replying, please edit your Subject line so it is more specific than Re: Contents of rsync digest... To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html --- Today's Topics: 1. Re: cwRsync got killed... (Benjamin R. Haskell) 2. Re: cwRsync got killed... (Steven Levine) 3. [Bug 8416] Please include systemd service file (samba-b...@samba.org) -- Forwarded message -- From: Benjamin R. Haskell rs...@benizi.com To: Joachim Otahal (privat) j...@gmx.net Date: Fri, 25 Nov 2011 14:29:56 -0500 (EST) Subject: Re: cwRsync got killed... On Fri, 25 Nov 2011, Joachim Otahal (privat) wrote: Last cwrsync was 4.1.0, current is 4.2.0. It was avail on sourceforge. Itefix.no decided we want money for coding and support - that itself is not wrong. Though _I_ never needed any rsync help on neither linux and windows (including mixed) scenarios. But they killed their sourceforge downloads, all, including past versions of cwrsync, including source. That seems pretty antisocial of them. They have a Download source link for 4.2.0 on their site ( http://www.itefix.no/i2/node/**10650 http://www.itefix.no/i2/node/10650), still, which points to: http://sereds.git.sourceforge.**net/git/gitweb.cgi?p=sereds/** sereds;a=treehttp://sereds.git.sourceforge.net/git/gitweb.cgi?p=sereds/sereds;a=tree ... though I'm not sure it's what it says it is. They also don't seem to understand the implications of licensing something under the GPL. (That page claims cwRsync is GPL-licensed.) They can't prevent the source code from being distributed, if that's the case. So, the worst case without legal action is that one person buys a copy of cwRsync, then publishes the source code (which is permissible according to the GPL): http://www.gnu.org/licenses/**quick-guide-gplv3.htmlhttp://www.gnu.org/licenses/quick-guide-gplv3.html In a better case, if anyone has the source code already, feel free to publish it. That's how the GPL works. So does BSD-licensing, actually. If you have the source code, you're free to redistribute it (with the restriction that the redistribution retains the same licensing terms and copyright information). The 4.2.0 client is still available on www.chip.de, but the server has no alternative DL. We still have the filesize and the MD5 sum of sourceforge. I'd vote for updating the download page http://rsync.samba.org/** download.html http://rsync.samba.org/download.html. Apart from that: Anybody got lucky on cwRsyncServer_4.2.0_Installer.**zip 3961867 bytes MD5 c787dfa854775793d1a1b5c3502b57**b5 ? Sorry, no luck. I also tried to see whether it still appeared under any outdated Sourceforge mirrors, but no dice. -- Best, Ben -- Forwarded message -- From: Steven Levine stev...@earthlink.net To: rsync@lists.samba.org Date: Fri, 25 Nov 2011 15:50:21 -0800 Subject: Re: cwRsync got killed... In alpine.LNX.2.01.251354300.14380@hp.internal, on 11/25/11 at 02:29 PM, Benjamin R. Haskell rs...@benizi.com said: Hi, But they killed their sourceforge downloads, all, including past versions of cwrsync, including source. That seems pretty antisocial of them. Interesting. They are allowed to do what they want with the binaries, but the sources are another issue. As I read the GPL, they must continue to provide access to the sources for at least three years after the binary was last distributed. In addition, they must provide access to the actual sources used to build the binaries. For example, if itefix modified any of the rsync sources used to build the binaries, it's not sufficient to provide a link to the rsync sources at samba.org. http://sereds.git.sourceforge.net/git/gitweb.cgi?p=sereds/sereds;a=tree ... though I'm
Re: Limit rsync running time
Rsync has a 'time-limit' patch with following options: --stop-at=y-m-dTh:m Stop rsync at year-month-dayThour:minute --time-limit=MINS Stop rsync after MINS minutes have elapsed Tev Hi I'd like to rsync a large amount of data over a slow connection, but only during night hours. I couldn't find a parameter that limits the time that rsync is running, only the timeout on idle time. I guess the way to go would be to start rsync, get the process ID and kill the process later on. Has anybody already written a bash script that would do something like that? Are there other ways? I don't want to kill all rsync processes as there might be other syncs going on. Thanks bye Fabi -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: how to backup/restore of windows file attributes
You may be interested in the cwRsync FAQ http://www.itefix.no/i2/node/11313 about using RoboCopy for transferring windows file attributes/permissions: Can rsync transfer security/ownership information between two windows machines ? cwRsync alone has limited support since it runs on cygwin posix emulation layer. However, after an rsync operation, you can use Robocopy XP010 from Windows Server 2003 Resource Kit, to transfer all windows specific file information (NTFS security, timestamps, attributes, ownership, auditing info): ROBOCOPY source destination /XO /XN /XC /E /COPY:ATSOU options /XO (exclude older), /XN (exclude newer) and /XC (exclude changed) assure that only existing files are targeted. Option /E is for recursive directory operation including empty ones. Option /COPY:ATSOU instructs Robocopy to copy only attributes (A), timestamps (T), NTFS security information (S), Ownership O) and auditing (U). __ Tev cwRsync maintainer -Original Message- From: rsync-bounces+tevfik=itefix...@lists.samba.org [mailto:rsync-bounces+tevfik=itefix...@lists.samba.org] On Behalf Of Matthias Meyer Sent: 30. desember 2008 22:40 To: rsync@lists.samba.org Subject: how to backup/restore of windows file attributes I use rsync for backing up windows. After a restore of Desktop.ini I recognize that the hidden attribut and the system attribut will not been restored. I know, this are no unix attributes. But is there a way to backup and restore the windows attributes too? Thanks Matthias -- Don't Panic -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Win32 GUI Client
Have a look at http://www.itefix.no/i2/node/11726 for a cwrsync forum contribution: RsyncXP - simple Rsync GUI front-end for Windows XP Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lewis butler Sent: 5. desember 2008 15:57 To: rsync@lists.samba.org; Ansar Mohammed Subject: Re: Win32 GUI Client On 4-Dec-2008, at 18:12, Ansar Mohammed wrote: Tried that but its hardcoded to use the rsync.net servers. Reading the page linked, it appears that the remote server is a SETTING: URL should be the address of your rsync.net storage system - this was indicated in your original welcome email. It should look something like: sftp://usw-s001.rsync.net or: sftp://ch-s010.rsync.net Port Number should be 22. So, yeah, they are pushing rsync.net, but that, and the screenshot, seem to show you can set anything in there as the remote server. -- It was a fifty-four with a mashed up door and a cheesy little amp with a sign on the front said Fender Champ and a second-hand guitar it was a Stratocaster with a whammy bar -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Win32 GUI Client
Hi, As a permanent solution, you can simply remove the line below from rsyncd.conf: pid file = rsyncd.pid Regards Tev cwRsync maintainer _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MW Sent: 4. desember 2008 12:35 To: solomon mwangi Cc: rsync@lists.samba.org Subject: Re: Win32 GUI Client Check for the pid file. I see the same symptom when the pid file doesn't get deleted when I shut down my PC. Cheers Michael On 4 Dec 2008, at 11:21, solomon mwangi wrote: I have rsync set up on my servers but when I try to start the service i get the message that it started and then stopped. Any one know what the problem is? _ From: Ansar Mohammed [EMAIL PROTECTED] To: rsync@lists.samba.org Sent: Thursday, December 4, 2008 5:41:44 AM Subject: Win32 GUI Client Can anyone recommend a good win32 GUI rsync client? -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Re: Transfer between windows and linux going wrong
Cwrsync comes with an ssh client and a batch file example (cwrsync.cmd) for proper operation. By customizing the example file, you will be able to use ssh as tranport provider. Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Slootman Sent: 30. september 2008 17:52 To: rsync@lists.samba.org Subject: *** BREATH! spamhaus 127.0.0.11 *** Re: Transfer between windows and linux going wrong On Tue 30 Sep 2008, Bruno Guimarães Sousa wrote: I am running rsync 2.6.9-2etch2 protocol version 29 in a Debian machine. There is a Windows machine that I want to get the files from debian. For that I'm using rsync for windows version 3.0.4 protocol version 30 C:\Program Files\cwRsync\bin\rsync.exe -Cavz [EMAIL PROTECTED]:/root/ rsync: Failed to exec ssh: No such file or directory (2) rsync error: error in IPC code (code 14) at pipe.c(84) [receiver=3.0.4] rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(632) [receiver=3.0.4] The problem is the protocol version difference right? If it is, how can i No, the problem is that you don't have any ssh program on your windows system, and you've instructed rsync to do the transfer over ssh (no -e option thus default ssh, and a single colon thus not a connection to an rsync daemon). If you configure the Debian system to run rsync as a daemon (create an appropriate /etc/rsyncd.conf file, see /usr/share/doc/rsync/* and edit /etc/default/rsync and do /etc/init.d/rsync start), then you should be able to transfer thusly: C:\Program Files\cwRsync\bin\rsync.exe -Cavz 10.1.100.45::your_module_name_here/ Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Rsync 3.0.1 released
A new release of cwrsync including rsync 3.0.1 is available from http://itefix.no/cwrsync Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Davison Sent: 4. april 2008 09:02 To: [EMAIL PROTECTED] Cc: rsync@lists.samba.org Subject: Rsync 3.0.1 released I have released rsync 3.0.1. This is a bug-fix release, which also includes fixes/improvements for several issues in the daemon-exclude code. To see a full summary of the changes since 3.0.0, visit this link: http://rsync.samba.org/ftp/rsync/src/rsync-3.0.1-NEWS You can download the source tar file and its signature from here: http://rsync.samba.org/ftp/rsync/src/rsync-3.0.1.tar.gz http://rsync.samba.org/ftp/rsync/src/rsync-3.0.1.tar.gz.asc The patches directory is now in a separate tar file (for those that want it): http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.1.tar.gz http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.1.tar.gz.asc ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: (cw)rsync 3.0.0 incompatible with 2.6.9
I have now uploaded a new version of cwrsync including plain rsync with default settings. https://sourceforge.net/project/showfiles.php?group_id=69227package_id=6808 1release_id=583975 Tev -Original Message- From: Matt McCutchen [mailto:[EMAIL PROTECTED] Sent: 13. mars 2008 03:39 To: Mojca Miklavec Cc: rsync@lists.samba.org; Tevfik Karagülle; Taco Hoekwater Subject: Re: (cw)rsync 3.0.0 incompatible with 2.6.9 On Wed, 2008-03-12 at 20:57 +0100, Mojca Miklavec wrote: On Wed, Mar 12, 2008 at 4:46 PM, Matt McCutchen wrote: 3. Have cwRsync 3.0.0 users pass RSYNC_ICONV=- or --no-iconv . That's what has been suggested by Tevfik Karagülle, but it's ugly as it cannot be written in a portable way. (One would have to ask for rsync version first and then fiddle with options.) Passing RSYNC_ICONV=- in the environment is portable; it will suppress cwRsync 3.0.0's default iconv option without upsetting other versions of rsync. Someone else has suggested me to use rsync --protocol=29 but I need to test it. I tested it and it actually doesn't solve the problem. 4. Build your own Cygwin rsync (which will have no iconv setting by default) and use that instead of cwRsync 3.0.0. I don't have the slightest idea how to do that (I have tried to build other programs on windows, but hacking make files is not my strength). No makefile hacking should be necessary. If you were to build your own rsync, it should just involve installing Cygwin (including the necessary compilation tools) using http://www.cygwin.com/setup.exe , downloading and extracting the source tarball, and running ./configure make . 5. Ask the author of cwRsync to do suggestion number 4 (so that cwrsync would not fail on most servers). That would be the ideal scenario from what I have heard or learnt in this thread. If I build cwrsyc for me only, that wil serve noone except me. Yes, it would be best if Tev changed cwRsync officially, but I think it's worth knowing how to build your own Cygwin rsync anyway in case you want to test or use patched versions in the future. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: The server is configured to refuse --iconv
See a related thread in cwrsync forum http://www.itefix.no/phpws/index.php?module=phpwsbbPHPWSBB_MAN_OP=viewPHPW S_MAN_ITEMS[]=1130 Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Halliday Sent: 10. mars 2008 11:38 To: rsync@lists.samba.org Subject: The server is configured to refuse --iconv I've just tried upgrading to cwrsync 2.1.0 (Rsync version 3.0.0 protocol version 30) between 2 Windows XP Pro sp2 machine across the Internet. I used: SET CYGWIN=nontsec SET HOME=c:\cwrsync\bin C:\cwrsync\bin\rsync -za -u -P --delete --recursive /cygdrive/c/test2/ [EMAIL PROTECTED]::test/ When I run the above batch script on the remote machine I get this odd output. -- -- sending incremental file list rsync: The server is configured to refuse --iconv rsync error: requested action not supported (code 4) at clientserver.c(810) [receiver=3.0.0] rsync: connection unexpectedly closed (5 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(609) [sender=3.0.0] Press any key to continue . . . -- -- But I'm not using option --iconv! Where does it say it refuses --iconv? I admit I'm a bit lost. :-) Server side rsync is started via --config rsyncd.conf --daemon --no-detach as a service. Registry settings are: -- -- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncServer] Type=dword:0010 Start=dword:0002 ErrorControl=dword:0001 ImagePath=hex(2):43,00,3a,00,5c,00,63,00,77,00,52,00,73,00,7 9,00,6e,00,63,00,\ 5c,00,62,00,69,00,6e,00,5c,00,63,00,79,00,67,00,72,00,75,00,6e ,00,73,00,72,\ 00,76,00,2e,00,65,00,78,00,65,00,00,00 DisplayName=RsyncServer ObjectName=.\\stuart Description=Rsync - open source utility that provides fast incremental file transfer FailureActions=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00 ,00,00,50,00,70,\ 00,01,00,00,00,20,bf,02,00,01,00,00,00,20,bf,02,00,01,00,00,00 ,20,bf,02,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncSer ver\Parameters] AppPath=C:\\cwRsync\\bin\\rsync.exe AppArgs=--config rsyncd.conf --daemon --no-detach WorkingDirectory=C:\\cwRsync StdOut=C:\\cwRsync\\rsyncd-stdin.log StdErr=C:\\cwRsync\\rsyncd-stderr.log Shutdown=dword:0001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncSer ver\Parameters\Environment] CYGWIN=nontsec binmode [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncSer ver\Enum] 0=Root\\LEGACY_RSYNCSERVER\\ Count=dword:0001 NextInstance=dword:0001 rsyncd.conf is: -- - log file = rsyncd.log pid file = rsyncd.pid use chroot=false uid=administrator gid=administrators strict modes = false [test] path=/cygdrive/ctest comment=Nothing to see here. Empty. read only=false transfer logging = yes list=yes auth users=stuart Even just attempting to list the contents of this remote directory gives this error. The directory contains one file called 'test_text_file.txt' -- Stuart Halliday This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Rsync 3.0.0 released
A new version of cwrsync including rsync 3.0.0 is now available from http://itefix.no/cwrsync Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Davison Sent: 1. mars 2008 22:30 To: [EMAIL PROTECTED] Cc: rsync@lists.samba.org Subject: Rsync 3.0.0 released Yes, it's finally that time -- rsync 3.0.0 has been released. This is a feature release that also includes quite a few bug fixes. I'd like thank everyone who participated in the development and testing of rsync. I hope that you enjoy this latest version! The 3.0.0 version number is such a large bump up from 2.6.9 due to the addition of an incremental recursion scan (which helps a lot with large transfers) and the official arrival of several other new features, including ACL support, extended attribute support, filename character- set conversion, etc. To see a full summary of the changes since 2.6.9, visit this link: http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre10-NEWS You can download the source tar file and its signature from here: http://rsync.samba.org/ftp/rsync/rsync-3.0.0.tar.gz http://rsync.samba.org/ftp/rsync/rsync-3.0.0.tar.gz.asc The patches directory was released in a separate tar file (optional): http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.0.tar.gz http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.0.tar.gz.asc ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Rsync 3.0.0pre10 released
cwRsync installers with Rsync 3.0.0pre10 + time-limit patch are available from https://sourceforge.net/project/showfiles.php?group_id=69227package_id=6808 1release_id=461863 Tev NOTES cwRsync VERSION 2.0.10.3010 ** TEST ** - February 2008 highlights (see changelog for more info) - Rsync 3.0.0 pre10 + timie-limit patch - cygwin 1.5.25-7 - OpenSSH 4.7p1 - OpenSSL 0.9.8g Signatures: MD5: 9427408eeef6c3684673f87de4ca49f5 *cwRsync_2.0.10.3010_Installer.zip 791630e52e270c7f084583096fb3438c *cwRsync_Server_2.0.10.3010_Installer.zip SHA1: b41f04ddff69f3f652540858dc6961b5ccab3f58 *cwRsync_2.0.10.3010_Installer.zip 66e550bb72bd6cca7ebfc2e5f2f75178dbe9b001 *cwRsync_Server_2.0.10.3010_Installer.zip __ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Davison Sent: 20. februar 2008 04:03 To: [EMAIL PROTECTED] Cc: rsync@lists.samba.org Subject: Rsync 3.0.0pre10 released I've just released rsync 3.0.0pre10. I incorporated the latest daemon security fixes, and decided to include a few more minor bug fixes as well. If all goes well, this should be released as 3.0.0 final sometime next week. Please help to test it to ensure that we're ready to go! Send email to the rsync mailing list with your questions, comments, bug reports, etc. You can download the source tar file and its signature from here: http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre10.tar.gz http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre10.tar.gz.asc The patches directory was released in a separate tar file: http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.0pre10.tar.gz http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.0pre10.tar.gz.asc The following changes were made since pre9 was released: - Added the daemon option numeric ids to make writable rsync daemons safer by default. - Added a way to specify an inner-chroot path for an rsync daemon. This can make some operations safer (e.g. dynamic library loading). - Added the charset daemon option that allows a client to use the --iconv option w/o the daemon needing any iconv libraries in a chroot area. - We properly itemize the 't' (time) difference for symlinks if the receiver can set the modification time on a symlink. - Fixed a bug with the itemized output for 'p' (perms). - Got rid of some duplicated extra-verbose messages for certain directory operations. - Padded the *deleting itemized output for better alignment. - A daemon no longer logs files as received if the transfer was run with --only-write-batch. - Improved Makefile changes for reconfigure and distclean. To see a full summary of the changes since 2.6.9, visit this link: http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre10-NEWS ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Rsync 3.0.0pre7 released - cwrsync packages
cwRsync packages are updated with rsync 3.0.0. pre7 for testing. http://downloads.sourceforge.net/sereds/cwRsync_2.0.10.3007_Installer.zip http://downloads.sourceforge.net/sereds/cwRsync_Server_2.0.10.3007_Installer .zip Tev __ NOTES: cwRsync VERSION 2.0.10.3007 ** TEST ** - December 2007 highlights (see changelog for more info) - Rsync 3.0.0 pre7 - cygwin 1.5.25-7 - OpenSSH 4.7p1 - OpenSSL 0.9.8g Signatures: MD5: 0744c5eb0397180632612ea593b8a037 *cwRsync_2.0.10.3007_Installer.zip eb91d00877b3da240501a487aa1d239b *cwRsync_Server_2.0.10.3007_Installer.zip SHA1: 2233a94e3172797c2e857801dde59ac08b97cb6f *cwRsync_2.0.10.3007_Installer.zip 1f7e58a699671883492a52f11caff58afe8421c9 *cwRsync_Server_2.0.10.3007_Installer.zip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Davison Sent: 17. desember 2007 01:17 To: [EMAIL PROTECTED] Cc: rsync@lists.samba.org Subject: Rsync 3.0.0pre7 released I've just released rsync 3.0.0pre7, the latest pre-release version of the upcoming 3.0.0 release. This release contains fixed exclude checks for a use chroot = no daemon that has excludes listed in the config file. This is a partial fix for the 2nd advisory that was released recently. See the rsync security web page for the updated details and a patch for 2.6.9: http://rsync.samba.org/security.html Thanks for all the testing! We're making good progress to get this released in the weeks ahead. Please send email to the rsync mailing list with your questions, comments, bug reports, etc. You can download the source tar file and its signature from here: http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre7.tar.gz http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre7.tar.gz.asc The patches directory was released in a separate tar file for this release. I'm still considering if this is the best choice or not, so feel free to comment: http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.0pre7.tar.gz http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.0pre7.tar.gz.asc The following changes were made since pre6 was released: - The aforementioned daemon-exclude fixes. - The release script now gets the timestamps on the generated autoconf files right so that make doesn't try to rebuild them. - Fixed a bug in the --progress output where the to-check count would sometimes go negative. - Fixed a glitch in an internal directory counter on the sending side that could cause rsync to crash. - Avoid an assert problem if --hard-links was used in list-only mode. - Check alternate-basis-dir options (--*-dest) and warn about problems. - Fixed a potential (but unlikely) memory leak in make_file(). - Silenced some compiler warnings. To see a full summary of the changes since 2.6.9, visit this link: http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre7-NEWS ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: cwRsync on windows
Website http://itefix.no/cwrsync may be helpful for you. Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Khan Sent: 2. januar 2008 19:00 To: rsync@lists.samba.org Subject: cwRsync on windows Hi folks, It may be a very basic question for many people here but I have been struggling with Windows commandline. My CentOS machines are running perfectly fine. Question: I have installed cwRsync server on one of Windows 2003 and cwRsync client on the other Windows 2003. What command should I run to connect to the cwRsync server from the client? and how can I make sure that cwRsync is even running. I have checked the services I could not find. I also ran the netsat in windows to see what ports cwRsync is listening to. Or can anybody direct me to a good tutorial on cwRsync. Thanks in advance -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Rsync 3.0.0pre1 released
Cwrsync 2.0.10.3001 packages are available for testing. Regards Tev Download link: http://downloads.sourceforge.net/sereds/cwRsync_2.0.10.3001_Installer.zip http://downloads.sourceforge.net/sereds/cwRsync_Server_2.0.10.3001_Installer .zip == cwRsync VERSION 2.0.10.3001 - October 2007 highlights (see changelog for more info) - Rsync 3.0.0 pre1 - cygwin 1.5.24-1 - OpenSSH 4.7p1 - OpenSSL 0.9.8d Signatures: MD5: f8ae4aafdaf72794e7a0105d972b897a *cwRsync_2.0.10.3001_Installer.zip 72730c50dc08e7c8bcab5d7a69e5850b *cwRsync_Server_2.0.10.3001_Installer.zip SHA1: 0929b8601e6d3df37725466484e5ca699389653a *cwRsync_2.0.10.3001_Installer.zip 01738c63d22f702833bacb64048c1f9d6cdcd3b6 *cwRsync_Server_2.0.10.3001_Installer.zip === -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Davison Sent: Friday, October 05, 2007 3:15 AM To: [EMAIL PROTECTED] Cc: rsync@lists.samba.org Subject: Rsync 3.0.0pre1 released I've just released rsync 3.0.0pre1, the first pre-release version for the upcoming 3.0.0 release. The version number is getting such a large bump due to the addition of an incremental recursion scan (which helps a lot with large transfers) and the official arrival of several other new features, including ACL support, extended attribute support, file- name character-set conversion, etc. Please test this out and email the rsync mailing list with any questions, comments, bug reports, etc. Thanks! You can download the tar file and its signature from here: http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre1.tar.gz http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre1.tar.gz.asc To see a summary of the changes since 2.6.9, visit this link: http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre1-NEWS ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Problem with Rsync or Users will be Users?
Path length limitiation comes from the underlying OS, cygwin in this case. It has a max path length of 260 chars, if I remember correctly. Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Halliday Sent: Thursday, February 22, 2007 10:34 AM To: rsync@lists.samba.org Subject: Re: Problem with Rsync or Users will be Users? Various web sites says this about NTFS files. Individual file names in NTFS are limited to 255 characters; full paths are limited to 32,767 characters This filename is a mere 191 long Path is a lot less than 32,767... :-) So how come it is an OS error when Rsync tries to copy it? -- -- /cygdrive/x/20070221(Wednesday)/Users_profiles/DavidV/Favorites/Pipa Det/.AC-CESS AC-ROV, ROV, rov, mini ROV, micro ROV, low cost ROV, inspection class ROV, underwater camera, underwater rov, security inspection, remote visual inspection, acrov, small rov.url.gt1Uh8 -- -- ref: http://en.wikipedia.org/wiki/NTFS#Limitations -- Stuart Halliday This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Using rsync to sync two live servers
You can use shadow copy functionality on windows 2003 systems to address open file issue. Check http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=81 for a possible solution. Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Nighswonger Sent: Thursday, February 22, 2007 3:35 PM To: rsync@lists.samba.org; Chris Nighswonger Subject: Re: Using rsync to sync two live servers On 2/22/07, Paul Slootman [EMAIL PROTECTED] wrote: On Thu 22 Feb 2007, Chris Nighswonger wrote: I have two production servers which house large drive arrays storing digitized music for our webradio. They are used in a 'failover' configuration so that if one goes down the other remains available. New music is added all of the time to this library and it is a pain to have to add it to both machines as the files are large (.wav). I am thinking to setup rsync to keep the drives sync'd. My only question is whether it is possible to have rsync doing its thing while these files are being accessed for use? ie. real-time sync. That depends on your operating system. Windows generally objects to files being opened more than once; linux/unix systems won't have a problem. Unfortunatily they are windows systems. The broadcast software we use only comes in that flavor otherwise they would be nix. So when windows objects to an open file being sync'd will rsync simply skip it and keep going? Or will it bail out of the sync? I can stand missing an open file since the sync runs every hour. -- Chris Nighswonger Network Systems Director Foundations Bible College Seminary www.foundations.edu www.fbcradio.org -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: File Locking under Windows - a solution ?
What about using some staging logic if you have enough disk space and can introduce the logic required into your system : 1. Keep two copies of your files on your live servers: FEED-A and FEED-B 2. Initialization a. rsync FEED-A and FEED-B with the preview server content b. Select FEED-A as the current feed for live servers 3. Go live with the active feed. 4. When update is needed a. Rsync the contents of the inactive feed (FEED-B for the first time) with the preview server b. Select FEED-B as the current feed, making FEED-A (for the first time) inactive and ready for update in the next cycling 5. Repeat stage 3-4 :-) Rgrds Tev http://itefix.no/cwrysnc --- - We are currently using Rsync (with cygwin) to propagate static files from a preview server (Windows) to our live servers (Windows) on demand. Unfortunately, because the live servers are *live*, inevitably some of the files we mean to update are in use and therefore locked by the windows filesystem. Since they are locked, they are not updated, and our servers get out of synch. Does anyone know of a way this locking can be overridden ? is it possible to force updates ? it is important that all live servers have identical filesystems. There is an option to bring down each server, update the relevant directories, and bring the server back up: but this is highly undesirable. Updates are daily at least, and sometimes may occur half-a-dozen times a day. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Release of cwRsync 2.0.9 !
Hi, Just add '/S' switch to the installer and it will finish its job silently. As a side effect, you get a set of files ready to use :-) See http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=67 for more information. Rgrds Tev NB! Usually, I don't use rsync users' mailing list for cwrsync announcements. This one was an exception since there was some problems with a specific version of cygwin/cwrsync and that was reported to this list. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gARetH baBB Sent: Tuesday, August 08, 2006 10:08 AM To: rsync@lists.samba.org Subject: Re: Release of cwRsync 2.0.9 ! On Tue, 8 Aug 2006, Tevfik Karagülle wrote: A new version of cwRsync is available now. Enjoy! I'd enjoy it more if you got rid of that stupid installer. Go back to when it was just a set of files please, we don't all use Windows like Windows users. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Invalid File Index error
cwRsync version 2.0.8 usesnewer versions of cygwin (1.5.20) and openssl (0.9.8b). Problems might be related to them as well. There is also a new cygwin version 1.5.21 out there now. I recommend to check if upgrade to 1.5.21 or downgrade to 1.5.19 can help. Rgrds Tev From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob BoschSent: Monday, August 07, 2006 11:12 PMTo: rsync@lists.samba.orgSubject: Invalid File Index error Since upgrading to 2.6.8 with the tag 3 patch, Ive been consistently getting an error using rsync. We have about 100 servers using the client to a central backup server and the issue is repeatable on the servers having the problem. About 10 of the servers are having the problem. The error reported by rsync is: Invalid file index: -1019607330 (count=8353) [sender] rsync error: protocol incompatibility (code 2) at sender.c(169) [sender] The number following the index: and count= values are different by machine. They occur consistently in the same place on each machine, for example, following a particular file backup. Using the vvv option only shows the file before the error finishing and then the same error (no new logging information). The build was created by Tev at http://www.itefix.no and Ive also posted this to his forum. I was wondering if anyone else was experiencing the problem. Version: rsync 2.6.8 with tag 3 patch Running over OpenSSH tunnel (running in background, not as part of rsync command line) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Invalid File Index error
Time for an cwrsync upgrade :-) From: Rob Bosch [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 12:36 AMTo: 'Tevfik Karagülle'; rsync@lists.samba.orgSubject: RE: Invalid File Index error Testing with an updated version of cygwin (1.5.21) proved to resolve the problem. Thanks Tev!!! Rob From: Tevfik Karagülle [mailto:[EMAIL PROTECTED] Sent: Monday, August 07, 2006 3:36 PMTo: 'Rob Bosch'; rsync@lists.samba.orgSubject: RE: Invalid File Index error cwRsync version 2.0.8 usesnewer versions of cygwin (1.5.20) and openssl (0.9.8b). Problems might be related to them as well. There is also a new cygwin version 1.5.21 out there now. I recommend to check if upgrade to 1.5.21 or downgrade to 1.5.19 can help. Rgrds Tev From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob BoschSent: Monday, August 07, 2006 11:12 PMTo: rsync@lists.samba.orgSubject: Invalid File Index error Since upgrading to 2.6.8 with the tag 3 patch, Ive been consistently getting an error using rsync. We have about 100 servers using the client to a central backup server and the issue is repeatable on the servers having the problem. About 10 of the servers are having the problem. The error reported by rsync is: Invalid file index: -1019607330 (count=8353) [sender] rsync error: protocol incompatibility (code 2) at sender.c(169) [sender] The number following the index: and count= values are different by machine. They occur consistently in the same place on each machine, for example, following a particular file backup. Using the vvv option only shows the file before the error finishing and then the same error (no new logging information). The build was created by Tev at http://www.itefix.no and Ive also posted this to his forum. I was wondering if anyone else was experiencing the problem. Version: rsync 2.6.8 with tag 3 patch Running over OpenSSH tunnel (running in background, not as part of rsync command line) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: rsync and chmoding permissions on Windows
The last version of cwRsync contains rsync binaries with acl support. May be worth to try. cwRsync FAQ at http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=54 can also give some clues. Rgrds Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Halliday Sent: Wednesday, June 28, 2006 3:13 PM To: rsync@lists.samba.org Subject: rsync and chmoding permissions on Windows I'm trying to use rsync to keep the permissions between two Windows servers. A windows NT 4 server (with rsync daemon) and windows 2003 R2 I use Rsync in a batch file and I run it as Administrator by double clicking on it. Typically: set cygwin=notnsec rsync -rpDPo --chmod=Du+rwx,Fu+rwx,+X and the files are crossed over but the permissions are screwed up. Now, I can't find out the exact syntax for the Rsync --chmod= command. Documents for using it on Windows are not good. Normal 'chmod' I know. the D and F refer to the directory or file? But what is the +X doing? Google can't search for 'chmod=' so I'm stumped. The permissions I'm getting set is that the directory I've copied has Administrator ACLs set to 'special permissions' and not full control! Can some kind person put me out of my misery. -- Stuart Halliday ECS Technology ltd Registered in Scotland - #212513 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: cwrsync client log format ??
Try double %s instead of single % : %o becomes %%o Rgrds Tev From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug LochartSent: Friday, May 19, 2006 5:53 PMTo: rsync@lists.samba.orgSubject: cwrsync client log format ?? We were trying to introduce a better client side log format so that we could get timestamps and module names etc. In the rsync documentationit looks like you can use --log-format for the client ... there is even a sentence saying that this format would not interfere with the rsybc daemons format. We are using cwrsync and when we try and add --log-format="%o %h [%a] %m (%u) %f %l" The log messages return the string.h [m f lwe have tried various combinations of quotes to no avail. 1) Is using the log format possible on the client side in cwrsync?2) if so what is the proper escape pattern to use. This is running insode a .cmd scriptthanksDoug-- What profits a man if he gains the whole world yet loses his soul? -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: rsync client to daemon over ssh tunnel connection issues
Hi, There is a bug in rsync 2.6.8 causing this. Links below can give you some abckground info: http://www.mail-archive.com/rsync@lists.samba.org/msg16205.html http://www.itefix.no/phpws/index.php?module=phpwsbbPHPWSBB_MAN_OP=viewPHPWS_MAN_ITEMS[]=404 I have recently published an patch package available from http://prdownloads.sourceforge.net/sereds/unexpected-tag-3-patch.zip Give a try !! Best rgrds Tev cwRsync maintainer http://itefix.no/cwrsync From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug LochartSent: Thursday, May 18, 2006 4:58 PMTo: rsync@lists.samba.orgCc: Doug LochartSubject: rsync client to daemon over ssh tunnel connection issues Yes this is another connection reset issue but all I am asking is some pointers on how I can possibly determine what and why this is happening. Its easy to say its a network issue but the bosses and clients want to know how to fix this said "network issue." I have read the rsync issues list. Some of what is suggested we might try HOWEVER we cannot duplicate the errors that occur and those tactics seem driven towards reproducable errors. It is not consistent, sometimes the rsync transfer works flawlesly sometimes if we wipe the server module clean and restart it will fail. We wipe and restart it will fail somewhere else down the line and then it might work all the way through. I would put the strace on it if we could recreate the error. I did come upon an rsync hang 2 days ago where the client had aborted but the server still had rsync running and I believe the server side of the sshd tunnel running. I installed strace (Centos did not have it by default). The ssh process terminated but the rsync was still going. So I ran strace and it was in a select call. This tells me that something happened between the endpoints of the ssh tunnel for this issue. Hwat follows are different issues. Client: Windows XP running CWRsync 2.6.8. We are creating an SSH Tunnel from the client machine (external network) to our serverServer: running rsync 2.6.8 using rsync --daemon. No chroot jails or the like. This Happened Last Night:-1) Client log showed this:Read from remote host 209.225.128.138: Connection reset by peer^M^M rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Connection reset by peer (104)^Mrsync: read error: Connection reset by peer (104)^Mrsync error: error in rsync protocol data stream (code 12) at io.c(622) [sender]^MServer showed this:rsync: connection unexpectedly closed (148817310 bytes received so far) [receiver]2006/05/17 22:23:24 [8706] rsync error: error in rsync protocol data stream (code 12) at io.c(463) [receiver=2.6.8]2006/05/17 22:23:24 [8706] rsync: writefd_unbuffered failed to write 93 bytes [generator]: Broken pipe (32)2006/05/17 22:23:24 [8706] rsync error: error in rsync protocol data stream (code 12) at io.c(1119) [generator=2.6.8]Is this a spurious network error or could it be something else. The processes involved with this error have since terminated so this is all I have at the momentAnybody have a clue as to what I can do to research this? We can't control (ie install diagnostic software) the client pc much as its not ours. Of course ALL tests (internal client) and all but 1 test (external client) worked before doing large sets of data (up to 10 gig) 2) Client Log Shows This:unexpected tag 3 [sender]^Mrsync error: error in rsync protocol data stream (code 12) at io.c(836) [sender]^MTerminating secure channel ...^M^MServer side log showed this:sync: connection unexpectedly closed (235695 bytes received so far) [receiver] 2006/05/17 23:01:49 [8782] rsync error: error in rsync protocol data stream (code 12) at io.c(463) [receiver=2.6.8]2006/05/17 23:01:49 [8782] rsync: writefd_unbuffered failed to write 93 bytes [generator]: Broken pipe (32) 2006/05/17 23:01:49 [8782] rsync error: error in rsync protocol data stream (code 12) at io.c(1119) [generator=2.6.8]Now this error (unexpected tag 3) I found a post on 05-03 and response from Wayne with a small patch to io.c.My only question is I can apply the patch or get the nightly tar for the server but we are using CwRsync on the client. Does this patch have to be applied on the client side as well?The two errors above were coupled with 4 successful runs from the same machines. Each machine had 1 failure and 4 out of 6 rsync transfers worked. Thanks again,Douglas LochartCape Computing Corp-- What profits a man if he gains the whole world yet loses his soul? -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: rsync ok with open files?
AFAIK, rsync cannot copy open files. Outlook must be stopped in your case. Rgrds Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Sent: Wednesday, May 10, 2006 6:06 PM To: rsync Subject: rsync ok with open files? Hi gang. I am synchronizing Windows machines (cwRsync/cygwin) with FreeBSD server. A batch file is used to initiate the process (shell invoked rsync daemon). My question is whether I need to tell my users to close any affected applications (ex: Outlook; I am synchronizing the outlook.pst file) during the procedure? Peter __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: file has vanished Chinese characters...
Hi, There is a UTF-8 patched cygwin available from http://www.okisoft.co.jp/esc/utf8-cygwin/download.html I haven't used it. Maybe it is worth to try :-) Rgrds Tev Background info: http://translate.google.com/translate?hl=enu=http://www.okisoft.co.jp/esc/c ygwin-20.html http://sourceware.org/ml/cygwin/2006-05/msg00068.html http://www.cygwin.com/ml/cygwin-patches/2002-q3/msg00037.html http://www.itefix.no/phpws/index.php?module=phpwsbbPHPWSBB_MAN_OP=viewPHPW S_MAN_ITEMS[]=396 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Sent: Friday, May 05, 2006 5:08 AM To: [EMAIL PROTECTED]; Wayne Davison Cc: rsync@lists.samba.org Subject: RE: file has vanished Chinese characters... --- [EMAIL PROTECTED] wrote: This is entirely guesswork, but maybe, just maybe From something unixy, do an smb mount of the Windows share (Cygwin does the incredible, but it's still not unix) There is probably some kind of option so that you see the filenames and do the rsync from the unixy side. I think I ran into it doing something with Knoppix and mounting an NTFS partition with chinese characters in it. I'm guessing that there is a similar option somewhere on the Samba side. something like -o unicode for smbmount might help. Looks like there's iocharset= and codepage= Good Luck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Sent: Thursday, May 04, 2006 9:18 PM To: Wayne Davison Cc: rsync@lists.samba.org Subject: Re: file has vanished Chinese characters... --- Wayne Davison [EMAIL PROTECTED] wrote: On Wed, May 03, 2006 at 11:27:50AM -0400, Peter wrote: During a synchronization I get many file has vanished messages; the filename contains question marks. This cygwin/Windows induced bug has come up before. One potentially useful older message: http://lists.samba.org/archive/rsync/2005-May/012638.html The root of the problem is that Windows is lying to rsync about what the filenames are, and no one has offered some advice on how to make the lying stop (universally). Thanks. Looks like I'm at the end of the road on this one. You would think that we could figure out a workaround. Well I'm using neither Samba nor Cygwin but cwRsync. The WinXP users are initiating backups/synchronizations to a server at their discretion via a simple Windows batch file/script. Although I am using Samba as a basic fileserver. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: cwRsync logs
Hi, cwRsync is implementation of plain vanilla rsync on cygwin and accepts --stats option: --- Example - C:\Program Files\cwRsync\binrsync --stats * tmp skipping directory tmp Number of files: 14 Number of files transferred: 14 Total file size: 6287854 bytes Total transferred file size: 6287854 bytes Literal data: 6287854 bytes Matched data: 0 bytes File list size: 289 File list generation time: 0.010 seconds File list transfer time: 0.000 seconds Total bytes sent: 6289539 Total bytes received: 328 sent 6289539 bytes received 328 bytes 4193244.67 bytes/sec total size is 6287854 speedup is 1.00 --- Rgrds Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Fitzpatrick Sent: Monday, April 24, 2006 7:49 PM To: rsync Subject: cwRsync logs Using cwRsync on Windows, is there any way to get the standard rsync stats at the end? It does not look like '--stats' is an option for cwRsync and verbose does not provide the stats. -- Robert -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Backup Windows to Linux with ACL
Hi, My apologies for not to include the man page in the zip file. I will fix it very soon. In the meantime: -- From updated rsync man page - -A, --acls This option causes rsync to update the destination ACLs to be the same as the source ACLs. This nonstandard option only works if the remote rsync also supports it. --acls implies --perms. Note also that an optimization of the ACL-sending protocol used by this version makes it incompatible with sending files to an older ACL-enabled rsync unless you double the --acls option (e.g. -AA). This doubling is not needed when pulling files from an older rsync. - Two conditions must be met to see the results: 1. You should have an acl-patch enabled rsync at linux side. 2. Doubled -A is required if your acl-enabled linux rsync has an older protocol. Rgrds Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fink Oliver Sent: Friday, April 07, 2006 9:58 AM To: rsync@lists.samba.org Subject: Backup Windows to Linux with ACL Hello, I am trying to Backup a Windows Machine to a Linux Server - and I want to preserve the ACLs. I installed the cwRsync server on the Windowsside (with the rsync-acl.exe) and I am trying to backup this machine from the linux-side usind rsnapshot. But the files lose the acls and get user:400 and group:401! Did anybody manage this task? If yes - how??? Thanks in advance Fink Oliver -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Open file excluded in rsync backup
A recipe for Windows 2003 systems (contributed by Rob Bosch) can be found at http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=81 Rgrds Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of IMCC Sent: 22. mars 2006 13:27 To: rsync@samba.org Subject: Open file excluded in rsync backup hi every one i dont know whether rsync excludes the open file while taking backup or not.? My problem is how to handle open file backup(the files which are open by any process ) with rsync .? Thanks Harshal SPsoft -- -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Rsync acl patch 1.113 compilation problems on cygwin
Hi, Recently, there have been some fundamental achievements regarding acl-support on the cygwin platform. I thought that it would be convenient to offer an acl-patch enabled rsync as a part of the cwrsync package (a yet another minimalist rsync on cygwin solution). I get some compilation errors. What I did: - Downloaded acl patch v1.113 from rsync site - Run commands below In the rsync source directory: # make clean # patch patches/acls_diff_1_113.txt # ./prepare-source # ./configure --enable-acl-support checking whether to support ACLs... Using solaris ACLs configure: creating ./config.status config.status: creating Makefile config.status: creating lib/dummy config.status: creating zlib/dummy config.status: creating popt/dummy config.status: creating shconfig config.status: creating config.h rsync 2.6.7 configuration successful # make gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o rsync.c:105: warning: unused parameter 'dflt_perms' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c generator.c -o generator.o generator.c: In function `recv_generator': generator.c:876: error: too few arguments to function `dest_mode' generator.c: At top level: generator.c:757: warning: 'dflt_perms' defined but not used make: *** [generator.o] Error 1 - I use gcc 3.4.4. Any ideas what I'm missing here ? Rgrds Tev cwRsync maintainer http://itefix.no/cwrsync http://sf.net/projects/sereds -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Rsync acl patch 1.113 compilation problems on cygwin
I applied a post-2.6.7 patch regarding exclude.c you sent via this mailing list. I might apply the same patch set twice. Could it be the reason ? I've downloaded sources and applied both patches again and everything works as expected. Thanks! Tev -Original Message- From: Wayne Davison [mailto:[EMAIL PROTECTED] Sent: 20. mars 2006 18:48 To: Tevfik Karagülle Cc: rsync@lists.samba.org Subject: Re: Rsync acl patch 1.113 compilation problems on cygwin On Mon, Mar 20, 2006 at 02:40:33PM +0100, Tevfik Karag?lle wrote: rsync.c:105: warning: unused parameter 'dflt_perms' This would seem to indicate that the 3rd hunk in the patch for rsync.c didn't get applied: @@ -116,7 +118,7 @@ mode_t dest_mode(mode_t flist_mode, mode cur_mode |= (cur_mode 0444) 2; } } else - cur_mode = flist_mode ACCESSPERMS ~orig_umask; + cur_mode = flist_mode ACCESSPERMS dflt_perms; if (daemon_chmod_modes !S_ISLNK(flist_mode)) cur_mode = tweak_mode(cur_mode, daemon_chmod_modes); return (flist_mode ~CHMOD_BITS) | (cur_mode CHMOD_BITS); I tried applying revision 1.113 of the acls.diff to 2.6.7, and none of the hunks failed, so I don't know what might have caused this for you. generator.c: In function `recv_generator': generator.c:876: error: too few arguments to function `dest_mode' The dest_mode() call is at line 883 in both 2.6.7 and the CVS version of generator.c, so something is quite different about your generator.c. This hunk of the acls.diff patch added the extra arg to the dest_mode() call: @@ -871,7 +880,8 @@ static void recv_generator(char *fname, if (!preserve_perms) { int exists = statret == 0 S_ISDIR(st.st_mode) == S_ISDIR(file-mode); - file-mode = dest_mode(file-mode, st.st_mode, exists); + file-mode = dest_mode(file-mode, st.st_mode, dflt_perms, +exists); } if (S_ISDIR(file-mode)) { generator.c:757: warning: 'dflt_perms' defined but not used This makes me think that several hunks failed to apply, since dflt_perms is referenced in 3 of them (not countint the hunk that defined it). Did you apply other patches to the source prior to the acls.diff patch? ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Rsync 2.6.7 with acl patch on Cygwin
Thanks to recent achievements, rsync with the acl patch has been a viable alternative for cygwin environments as well. --- Excerpt from the man page source: (--acl | -A) option causes rsync to update the destination ACLs to be the same as the source ACLs. This nonstandard option only works if the remote rsync also supports it. Note also that an optimization of the ACL-sending protocol used by this version makes it incompatible with sending files to an older ACL-enabled rsync unless you double the --acls. This doubling is not needed when pulling files from an older rsync. --- I have made an rsync-2.6.7/cygwin -1.5.19-4 executable containing the version 1.113 of the patch. It is called rsyncacl.exe and can be used for enhancing both full blown cygwin and cwrsync installations. Unfortunately, I couldn't reproduce the updated man page (I don't have yodl2man in my environment, help?) Rsyncacl.exe can be downloaded from http://prdownloads.sourceforge.net/sereds/rsync-2.6.7-acl.zip?download Signatures: MD5:8720c251575ebfd97962b61c35c5cfe6 *rsync-2.6.7-acl.zip SHA1: ddd53108e592fcbe2c516eaccdffefa6c4cde995 *rsync-2.6.7-acl.zip Best regards Tev cwRsync maintainer http://itefix.no/cwrsync http://sourceforge.net/projects/sereds -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Help understanding rsync and cwrsync
Hi all, we are just beginning to dive into rsync. I have limited experience with just playing around with the examples and reading all the docs that I can. I just read an interesting post from a developer that mentions cwrsync is a minimalistic rsync and thus things like permissions are not transfered, the post was from 2004. Here are my questions I called cwrsync as minimalistic because it offers rsync functionality on cygwin only. A full-blown cygwin gives you an almost complete linux-like working environment. In all other aspects, cwrsync is same as rsync on cygwin. That applies also to issues around permissions. 1) Should we abandon cwrsync for cygwin + rsync? Have the disparities between the two versions been resolved? There are no disparities. Cwrsync and cygwin+rsync have the same behaviour, same executables and same dlls. 2) What are the risks with using cwrsync (we want a limited footprint on the client)? Rsync itself is a well-proven solution and is actively maintained. Cwrsync package has a very small footprint in comparison to the full cygwin and that reduces your vulnerability surface. - 3) Assuming we use straight cygwin + rsync how does the linux rsync server handle the permissions and ACL's of an NTFS files system? Are they restorable back to a windows machine? The linux server won't have any of the users plus the ACLS stuff is totally different that unix. I don't think that rsync on cygwin can be too much of help to address ACL-issues between unix and windows machines. You should experiment with following scenarios to find out what is actually possible to achieve: 1. Use rsync options -g -o -p (preserve group,ownership and permissions) 2a. Start rsync on windows after having 'CYGWIN=ntsec' set. That allows cygwin to map linux permissions to windows ones. NB! Try this in a test environment. You may end with a filesystem with permissions somewhat different than what you expect. 2b. Use 'CYGWIN=nontsec' instead. That's the recommended way for cwrsync users. No mapping occurs. Cwrsync package has a batch file example for it. Best regards Tev Cwrsync maintainer -- What profits a man if he gains the whole world yet loses his soul? -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: rsync command: help with windows - unix
Try C:\rsync.exe /cygdrive/d/mike/* servername::antec_win2k_mike (double quotes) Best regards |: Tev :| -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Sent: 14. februar 2006 07:32 To: rsync Subject: rsync command: help with windows - unix Hi folks, I have a win2k acting as rsync client (I installed cwrsync) and FreeBSD 5.4 acting as rsync server and I'm having trouble with basic usage. -- My /etc/rsyncd.conf: log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock [antec_win2k_mike] path = /vol3/antec_win2k_mike uid = nobody gid = nobody read only = no list = yes auth users = mmat secrets file = /etc/rsync/rsyncd.secrets -- /etc/rsync/rsyncd.secrets: -- mmat:password1 -- I have a local user 'mike' on the server with password 'password2'. When I run this command I get my files dumped into the user's home directory, /home/mike/antec_win2k_mike (this antec directory is created): C:\rsync.exe /cygdrive/d/mike/* [EMAIL PROTECTED]:antec_win2k_mike I am prompted for the server user's password 'password2' but not the module password 'password1'. So it's like the configuration file is not being read. I am starting rsync on the server like this: # rsync --daemon --config=/etc/rsyncd.conf What should I do here? Anyone? -- Peter __ Find your next car at http://autos.yahoo.ca -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: cwrsync server 2.0.4 / winxp / ownership problems?
It is possible to instruct cygwin not to reflect permission changes to windows' file system. This can be done by specifying CYGWIN=nontsec. In this case, all permission related changes ordered by rsync will be discarded. Rsync daemon implemented by cwrsync server uses cygwin=notnsec by default. Cwrsync is simply a minimal 'rsync on cygwin' environment packaged into an installer. Rsync executable in cwrsync is compiled by using the last available rsync source (2.6.6 at the moment). If you are only interested in rsync, cwrsync can be a solution for you. Otherwise, I recommend to install a full-blown cygwin which offers much more than rsync. Best regards |: Tev :| -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Davison Sent: 31. januar 2006 19:28 To: Erik Jacobs Cc: rsync@lists.samba.org Subject: Re: cwrsync server 2.0.4 / winxp / ownership problems? On Tue, Jan 31, 2006 at 01:13:47PM -0500, Erik Jacobs wrote: I didn't think that CHMod would have any effect in windows?? I assumed that the cygwin library would map the internal mode change into an appropriate external change on the filesystem. However, since I try to avoid MS Windows whenever possible, someone else will need to answer if my assumption is incorrect in the case you're experiencing. (Also, I meant to type --chmod=u+w, not --chmod=o+w in my prior email.) Are you referring to the rsync in CVS for cwrsync? I'm referring only to the official rsync that I maintain. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: cwrsync server 2.0.4 / winxp / ownership problems?
Hi Erik, Since cwrsync contains some windows-specific arrangements not directly related to rsync itself, I've established a cwrsync discussion forum half a year ago. It is available at http://www.itefix.no/phpws/index.php?module=phpwsbbPHPWSBB_MAN_OP=viewforumPHPWS_MAN_ITEMS=1 . You may consider to post your problem at this forum as well. Back to your problem: By default, cwrsync is configured to not to map unix permissions to windows equivalents (env.variable CYGWIN=nontsec). In other words, what you set as windows permissions on your directories will not be disturbed by cwrsync. If you want to give your admins write permissions on /stuff/windows, you may simply run the command below only once: Xcacls windows directory behind module crystal_windows /T /E /G Administrators:F Best regards Tev cwRsync maintainer http://itefix.no/cwrsync http://sourceforge.net/projects/sereds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Jacobs Sent: 30. januar 2006 22:25 To: rsync@lists.samba.org Subject: cwrsync server 2.0.4 / winxp / ownership problems? Hi all! We're using cwrsync server 2.0.4 on winxp to keep files up to date between some operator machines. Whenever I run rsync to send files to another machine, the read-only flag gets set. The cwrsync user was created (the install is completely standard)... so I'm thinking it might have something to do with that. Here's my rsyncd.conf: use chroot = false strict modes = false hosts allow = * log file = rsyncd.log pid file = rsyncd.pid [crystal_windows] path=/stuff/windows read only=false comment=some stuff When I run the following command from my laptop: rsync -vzrLpogtu /stuff/windows/ [EMAIL PROTECTED]::crystal_windows It sets *ALL* the files in the /stuff/windows folder on the remote machine to read-only. This is a big problem because it means that when an operator goes to edit a file in the windows folder with a program, he has to first make the file not read only. Is it possible to change the cwrsync configuration so that it runs as the same user that the operator logs in as? I'm thinking that for some reason windows is getting confused and setting the ownership to the cwrsync user and that's why the operator user sees the file as read-only. Because the operator is an administrator, the read-only can be turned off, but every time rsync touches the folder it seems to reset all the permissions settings. Thanks in advance! -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Update: Re: Help with synchronizing two directories on remoteservers
Can you simply run -netstat- on your PCs and check if you can see something listening on port 22 ? It may also be helpful if you can be more specific about what platforms you experience that problem. Maybe your ssh daemon is being activated via tcp-wrappers and there is something blocking between ? Rgrds Tev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of symbulos - ethical services (external mailing lists) Sent: 10. oktober 2005 19:03 To: rsync@lists.samba.org Subject: Update: Re: Help with synchronizing two directories on remoteservers Strangely we can login as ssh from the pc here, but we cannot login as ssh from the other remote server (ssh: connect to host serverb port 22: Connection refused). What is happening? I do not understand. Corrado On Monday 10 Oct 2005 17:44, Paul Slootman wrote: On Mon 10 Oct 2005, symbulos - ethical services (external mailing lists) wrote: What I do is to go to one of the server (server a) as root using ssh, navigate to the directory, and write rsync -avz [EMAIL PROTECTED]:directory/ ./ This is the error we get ssh: connect to host 80.81.131.173 port 22: Connection refused This simply means that ssh is not running as a daemon on the remote system (serverb). Ensure that you can login as username via ssh on that system before trying rsync over ssh. Paul Slootman -- symbulos - ethical services for your organisation website www.symbulos.com -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: missing secret for user using cygwin rsync on Windows XP Home
Hi, Maybe you used Notepad and saved your secrets file in Unicode-coding. Try ANSI instead. Rgrds Tev http://itefix.no -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Moore Sent: 27. september 2005 15:39 To: rsync@lists.samba.org Subject: missing secret for user using cygwin rsync on Windows XP Home Hi, I'm trying to set up rsync to allow me to backup a number of Windows machine to a Windows XP Home server using Nasbackup. I can get rsync working fine but have been struggling for days to get user authentication working. /var/log/rsyncd.log 2005/09/27 13:46:37 [1352] rsyncd version 2.6.6 starting, listening on port 873 2005/09/27 13:47:50 [4088] auth failed on module modulename from localhost (127.0.0.1): missing secret for user me /etc/rsyncd.conf use chroot = false strict modes = false log file = /var/log/rsyncd.log [modulename] path = /cygdrive/c/cygwin/home/backups comment = Rsync storage area read only = false auth users = me secrets file = /cygdrive/c/cygwin/etc/rsyncd.secrets /etc/rsyncd.secrets me:pass The server was started with the following command line: cygrunsrv.exe -I Rsync -p /cygdrive/c/cygwin/bin/rsync.exe -a --config=/cygdrive/c/cygwin/etc/rsyncd.conf --daemon -cc -no-detach -f Rsync daemon service net start rsync The Rsync service is starting. The Rsync service was started successfully. The client was started with the following command line: rsync -vvr /cygdrive/c/folder localhost::modulename opening tcp connection to localhost port 873 opening connection using --server -vvr . modulename Password: @ERROR: auth failed on module modulename rsync error: error starting client-server protocol (code 5) at /home/lapo/packaging/tmp/rsync-2.6.6main.c(1171) As shown above, authentication is failing because it is not picking up the secret for the user. I have tried the forums, web searches etc and have tried tons but nothing seems to work. Any other ideas? Thanks very much, Andrew -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
New cwRsync Release (2.0.0)
Hi, A new version of cwRsync installer has been released. cwRsync is a yet another packaging of Rsync and Cygwin. cwRsync VERSION 2.0.0 - June 2005 Highlights (see changelog for more info) - Two installers: client and server - Built-in OpenSSH server - Secure Channel Wrapper and Wizard - Rsync 2.6.5 - OpenSSH 4.1p1 - OpenSSL 0.9.7g - Cygwin 1.5.17-1 MD5 signatures: e58890ae5d5af88d58b1417f6c108e3f *cwRsync_2.0.0_Installer.zip 8c9bebcf51abf26d70fd476170133e57 *cwRsync_Server_2.0.0_Installer.zip SHA1 signatures: 9d95a26c062985d74df2fa9859a741409d10f5f0 *cwRsync_2.0.0_Installer.zip d7f98e3de2d87174455ae23e893a528f13a79788 *cwRsync_Server_2.0.0_Installer.zip Download page: http://sourceforge.net/project/showfiles.php?group_id=69227package_id=68081 release_id=332085 Changelog: http://sourceforge.net/project/shownotes.php?group_id=69227release_id=33208 5 Best regards Tevfik Karagulle ITEFIX Consulting http://itefix.no/cwrsync http://sourceforge.net/projects/sereds smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Inheriting security permissions from target directory withCygwin
Hi, Try to use ssh-tunnelling and rsync daemon, instead of built-in ssh support in rsync. OpenSSH on cygwin must have CYGWIN=ntsec to make things work. This is inherited by built-in rsync ssh on server side. It results with unwanted adjustment of your files' permissions. When you use rsync daemon, it is possible to specify CYGWIN=nontsec during initialization (cygrunsrv). You can then establish an ssh tunnel to send rsync requests to this daemon. Regards Tev cwRsync maintainer http://itefix.no/cwrsync -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Thornton Sent: 16. mai 2005 21:40 To: Michael Carr Cc: rsync@lists.samba.org Subject: Re: Inheriting security permissions from target directory withCygwin Michael Carr wrote: I am trying to upload a directory structure with rsync via ssh from one domain to another. I would like the target files (which may or may not already exist on the target machine) to assume the security permissions of the target directory they are placed into, since the target machine lies in a different domain. Currently, when I upload these files they seem to assume some strange random security settings that I must invariably repair, which leads to a lot of work for me. I tried using CYGWIN=nontsec on both the source and target sides and that didn't seem to have any effect. Is there some rsync switch that tells rsync on the target to ignore security settings on the files and to just use the security settings of the parent directory they are placed into? I tried using scp and it gives the same effect as rsync -- strange random security settings on the target files. I am using the latest cygwin version and have tried rsync 2.6.3, 2.6.4, and 2.6.5pre1. Thanks!! Michael Carr I can confirm there is a problem. Using CYGWIN=nontsec worked until recently but now appears broken. It is very frustrating. Mark Thornton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 16/05/2005 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
cwRsync 1.3.0a - Rsync 2.6.4 with 'Multiplexing Overflows when File Name Too Long' patch
Hi, cwRsync 1.3.0 users - I have compiled a new version of rsync executable that includes a post-2.6.4 patch, addressing 'Multiplexing Overflows when File Name Too Long'. See thread http://www.mail-archive.com/rsync@lists.samba.org/msg13003.html for more info. Thanks to Benjamin and Wayne !! Patched rsync.exe can be downloaded from http://itefix.no/download/rsync-130a.zip. cwRsync Installer at Sourceforge is also updated : http://prdownloads.sourceforge.net/sereds/cwRsync_1.3.0a_Installer.zip Best Rgrds _tev_ http://itefix.no/cwrsync http://sourceforge.net/projects/sereds -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[SPAM] - [Sereds-cwrsync-a] cwRsync 1.2.9 with rsync 2.6.4 is released !! - Email found in subject
Hi, cwRsync version 1.2.9 is available for download at http://prdownloads.sourceforge.net/sereds/cwRsync_1.2.9_Installer.zip?downlo ad Rgrds _tev_ -- HIGHLIGHTS - Rsync 2.6.4 - Cygwin 1.5.13-1 Signatures: MD5: 1126808de99c67701aa74988ea83e7ec *cwRsync_1.2.9_Installer.zip SHA1: 6a2326716f7800521a72976f37f3b5b923037eff *cwRsync_1.2.9_Installer.zip - http://itefix.no/cwrsync http://sourceforge.net/projects/sereds --- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/info/Sentarus/hamr30 ___ Sereds-cwrsync-a mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sereds-cwrsync-a -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
cwRsync 1.2.9 with rsync 2.6.4 is released !!
Hi, cwRsync version 1.2.9 is available for download at http://prdownloads.sourceforge.net/sereds/cwRsync_1.2.9_Installer.zip?downlo ad Rgrds _tev_ -- HIGHLIGHTS - Rsync 2.6.4 - Cygwin 1.5.13-1 Signatures: MD5: 1126808de99c67701aa74988ea83e7ec *cwRsync_1.2.9_Installer.zip SHA1: 6a2326716f7800521a72976f37f3b5b923037eff *cwRsync_1.2.9_Installer.zip - http://itefix.no/cwrsync http://sourceforge.net/projects/sereds -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: Rsync permission issue
Hi, Check out cwRsync FAQs at http://www.itefix.no/phpws/index.php?module=fatcatfatcat[user]=viewCategoryfatcat_id=6module_title=faq They might be helpful. Rgrds Tev From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of d cSent: 21. desember 2004 17:52To: d c; [EMAIL PROTECTED]Subject: Re: Rsync permission issue I have been continuing to research this. The problem appears as follows: 1. The directory where the data is to be copied is owned by the a specific user assigned to each server and the group rsync (a local user I setup to run the daemon). Others have no rights to the directory. When rsync creates a sub-directory it assigns no rights at all to it: d I have tried the -p option on the client but it does not help. Currently running latest version of rsync---recompiled last night. Client is windows w/ cygwin. thx d c [EMAIL PROTECTED] wrote: I am connecting to my rsync server as follows: ssh -f -i ~/.ssh/id_dsa -C -l SOMEUSER -L 8730:localhost:873 SOMEHOST sleep 40rsync -av rsync://localhost:8730/module /dest My LAN servers connect w/o incident or problems. However- I am trying to connect in a remote server and it is giving me some grief. rsyncd.log excerpt: 2004/12/20 17:00:46 [25997] stat "fran/Herb's info" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] recv_generator: mkdir "noreneold/My Documents" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] stat "noreneold/My Documents" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] recv_generator: mkdir "noreneold/My Documents/All-in-one" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] stat "noreneold/My Documents/All-in-one" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] recv_generator: mkdir "noreneold/My Documents/Corel User Files" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] stat "noreneold/My Documents/Corel User Files" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] recv_generator: mkdir "noreneold/My Documents/My Pictures" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] stat "noreneold/My Documents/My Pictures" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] recv_generator: mkdir "noreneold/My Documents/WORK" (in eca) failed: Permission denied2004/12/20 17:00:46 [25997] stat "noreneold/My Documents/WORK" (in eca) failed: Permission denied2004/12/20 17:09:54 [25997] rsync: connection unexpectedly closed (3690059 bytes read so far)2004/12/20 17:09:54 [25997] rsync error: error in rsync protocol data stream (code 12) at io.c(348)2004/12/20 17:09:54 [25997] rsync: connection unexpectedly closed (574575 bytes read so far)2004/12/20 17:09:54 [25997] rsync error: error in rsync protocol data stream (code 12) at io.c(348)2004/12/20 17:11:27 [25916] rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(225)2004/12/20 17:12:00 [26051] rsyncd version 2.6.2 starting, listening on port 873 What is strange is some files and directories copy with no problem at all. I am trying to decide if the problem is on the server (rsync) or client side. The client is a windows machine (server 2000). I verifide that the "active user" has full permissions to the file that are going to be xferred. On the server-- I am running rsync as the user rsync and on the directory I am uploading to the group rsync has rwx rights. I have realized I am running and older version and am currently upgrading to the latest. So what causes sporadic failures on uploadsalso it seems as if rsync (client) eventually hangs. If i restart rsyncd and sshd on the server it releases itself from the server and issues clear up. I have been able to successfully sync small directories. I noticed one of the dir's has an " ' " in it...will this cause a problem. Do windows files / dir names need to be modifed before copying up to rsync server. As usual- TIA :) Hopefully I'll be able to answer some of these in the near future. -d __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsyncBefore posting, read: http://www.catb.org/~esr/faqs/smart-questions.html Do you Yahoo!?Dress up your holiday email, Hollywood style. Learn more. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RE: SSH Tunnel Problem
Hi, FAQ at http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=27 may help. Rgrds Tev cwRsync maintainer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of d c Sent: 19. desember 2004 04:28 To: [EMAIL PROTECTED] Subject: SSH Tunnel Problem I have set up an Rsync server on FreeBSD 5.3 and plan on having windows clients synchronize data to it. Rsync running as a daemon works fine. I can successfully copy data up to the server and view it via scp. Also- I can connect via ssh and run rsync as well. HOWEVER- I cannot connect passwordless with SSH and then connect to the rsync daemon. The following demonstartes what I would like to do: rsync -av -e ssh -l myusername /cygdrive/pathtolocaldata [EMAIL PROTECTED]::modulename --password-file filename When I run the above I successfully authenticate with SSH but then I get an error that the rsyncd.conf cannot be read. Permissions on the rsyncd.conf file are root:wheel -rw-r-- I have tried chown to rsync:rync the user the daemon runs under as specified in my conf file. I would like the have the granularity of using rsyncd.conf. I was somewhat content with just using ssh but ssh wants to change the permissions on the upload directory where others can rwx. I tried changing the umask but apparently it is ignored when making an ssh connection. In addition- the local accounts on the server are setup for scponly. Any help would be greatly appreciated. I have been googling and experimenting for over two weeks. I believe everything is proper... :( TIA __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
SV: passing ssh password to rsync without prompting it
Hi, A simple recipe can be found at http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=27 Rgrds Tev -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] vegne av Jim Kleckner Sendt: 2. desember 2004 18:02 Til: jack alex Kopi: [EMAIL PROTECTED] Emne: Re: passing ssh password to rsync without prompting it Wayne Davison wrote: On Wed, Dec 01, 2004 at 11:02:15PM -0800, jack alex wrote: So, why it is not picking password from password file and any other idea to pass ssh password to rsync without prompting it. This is because the option only affects rsync's use of an rsync daemon. Rsync has no options that affect ssh's password prompting. You should get ssh working as needed without rsync being involved (perhaps running a simple command such as uptime) and then use that technique with rsync. However, if you've ruled out ssh keys, your only other choice may be some kind of host-based authentication. See the ssh docs for details. ..wayne.. Use keychain to manage an ssh-agent with a key store. You only have to put in the password once per session that way. Or leave the key store without a password if you dare... http://www.gentoo.org/proj/en/keychain/index.xml It sets environment variables to connect with a named pipe for ssh-agent. With authentication chaining, you can run remote commands that pass authentication back to your login computer. Just put the public part of your key into ~/.ssh/authorized_keys2 on all of the machines you want to use. Jim -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- 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: User NONE using rsync in Windows server
Hi, Probably you don't have environment variable CYGWIN=nontsec defined somewhere in your system. By default, cygwin TRIES to map unix permissions to windows acls and updates permissions accordingly. This may work and make sense to some extent, if you have a full-blown cygwin environment and always use it. Mostly this is not the case. I recommend to use CYGWIN=nontsec when running rsync, to make sure that cygwin does not disturb your windows permissions. See http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=12 for more info. Rgrds Tev cwRsync maintainer Hi, I'm using rsync with cygwin to synchronize two windows servers. I've got files in server side with full permisions to Administrator user, but when i synchronize it with another windows server, the file placed in client side has a new group called NONE with read , write and execute permisions. I'm using the following line to call rsync: rsync -zvvvr --perms --owner --group --progress --delete --size-only --owner [EMAIL PROTECTED]::test_synchro C:\test And this configuration in server side: use chroot = false strict modes = false hosts allow = * log file = rsyncd.log pid file = rsyncd.pid # Module definitions # Make sure that writable modules are implemented as subdirectories of cwRsync installation # directory\data. That would ensure propagation of correct ownership for files/directories. # [test_synchro] path = D:\test read only = false transfer logging = yes comment = test to mayas01 from picture (wwwroot\PICTURES) Does anyone know how i might fix this error? Thanks in advance-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
SV: SSH and rsync server
Hi, So, if you want to encrypt the traffic to an existing rsync daemon, you'll need to use ssh (or maybe stunnel) to forward a local socket address to the remote machine (which allows you to tell rsync to connect to the local machine and have that connection get forwarded to the remote machine via the secure tunnel) -- see the ssh docs for how to use ssh to do that. See cwrsync FAQ How can I secure connections between rsync clients and cwRsync servers ? for an ssh-tunneling example for rsync. Rgrds Tev http://itefix.no/cwrsync -- 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: RV: cwrsync and CPU usage
Hi, In cwrsync 1.2.4, there will be a batch file example setting necessary parameteres correctly. You can use it to initiate your rsync sessions. Rgrds Tev cwRsync maintainer Yes I´m using cwrync 1.2.4 that it contains the 2.6.2 rsync version command. A problem I have to use cygwin is that I have implemented the cwrsync command in a script .js (jscript) then... Should I make a new script bash file for linux? or is it possible call cygwin´s rsync from a DOS shell line command? Thank you very much :) José Luis -Mensaje original- De: Craig Barratt [mailto:[EMAIL PROTECTED] Enviado el: jueves, 12 de agosto de 2004 13:07 Para: Jose Luis Poza CC: [EMAIL PROTECTED] Asunto: Re: cwrsync and CPU usage Jose Luis Poza writes: I have a problem witch cwsrync and a questions. Does cwrsync process (rsync.exe) use 100% (more or less) CPU in Windows 2000 server witch a high level of kernel usage ? I have syncronized 11 servers (unix and windos) witch all their unit´s files, that proccess during approach 17 hours (the proccess is make every day). Is this time normal?. (A client makes all the request and store in local the files). Are you using the latest rsync (version 2.6.2)? It runs a lot faster on cygwin. Craig -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
SV: rsync hanging on Cygwin
Hi, Do you get the same error when you use rsync daemon at server side (double colon syntax and without ssh) ? Rgrds Tev -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] vegne av Tim Moss Sendt: 15. mai 2004 01:51 Til: [EMAIL PROTECTED] Emne: RE: rsync hanging on Cygwin Updated both ends with the rsync.exe from cwrsync Same thing: io timeout after 23 seconds - exiting rsync error: timeout in data send/receive (code 30) at io.c(143) rsync: connection unexpectedly closed (72412 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(342) That number 72412 is the same as before and its always the same number whatever the problem file it reaches Is that the size of some buffer in rsync or something? Carried out some tests and rsync doesn't hang if the client is sending files, only if it is receiving.. -Original Message- From: Tim Moss [mailto:[EMAIL PROTECTED] Sent: 14 May 2004 22:20 To: 'Jim Salter' Subject: RE: rsync hanging on Cygwin Ah ha - I'll give using the latest and greatest rsync from CVS a go. I hadn't realised that the pre-compiled binary was out of date. -Original Message- From: Jim Salter [mailto:[EMAIL PROTECTED] Sent: 14 May 2004 17:03 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: rsync hanging on Cygwin Slight clarification: When I said latest version of rsync, I did NOT mean the latest binary packaged with cygwin, I meant the latest source version, which you can compile yourself under cygwin (if you've installed gcc, ming, and make) or you can use the pre-compiled binaries now available at cwrsync's site. I'm trying to use rsync under Cygwin on 2 machines running Windows 2000 Server There's a 2MB link between them and I'm using SSH setup for a passwordless connection rsync hangs part way through transfers and when run again hangs at the same place in the same files with no explanation no matter what verbosity level I set it to. Each time it hangs it leaves an rsync process running on the source machine I added the timeout option to the command which gives the following info: (don't know if this will help track down this issue) io timeout after 60 seconds - exiting:00 rsync error: timeout in data send/receive (code 30) at /home/lapo/packaging/tmp/rsync-2.6.0/io.c(109) rsync: connection unexpectedly closed (72412 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/tmp/rsync-2.6.0/io.c(189) If I run it again the bytes read so far values is identical If I delete the particular file that it hangs at (from the destination) then the same thing happens again using or not using the -W option makes no difference using or not using compression makes no difference Now this bit is very odd: If I change directory on the destination machine into the directory where the problem file is and change the rsync command to transfer all the files in that directory (adding the directory/* to the source parameter) then the file is transferred just fine! go figure! I then rerun rsync and it will carry on past this file (since it is now up to date on the destination) until it hits some other problem file and hangs again. any ideas most appreciated! There's a note on the website home page that using daemon mode sometimes works around this The man page hints that I can run rsync in daemon mode on the source machine by specifying the right parameters on the client command line If I'm using SSH do I still need to open up the rsync server port on the server machine, or does the traffic come over the ssh connection? If so what is the format of the client command line - try as I may I can't get it to work - it just exits immediately as soon as I add the --daemon parameter Info about my rsync/ssh/Cygwin setup client version: $ rsync --version rsync version 2.6.0 protocol version 27 Copyright (C) 1996-2004 by Andrew Tridgell and others http://rsync.samba.org/ Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, no IPv6, 64-bit system inums, 64-bit internal inums On source: $ ssh -V OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004 $ cygcheck -s 1100k 2004/03/19 E:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.9 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 112 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name:
Re: cwRync and Windows permissions
Hi, cwRsync package has a batch file example that corrects permissions problem at client side. However, this is not the case for the server part. You have to manually set a system-wide variable CYGWIN to nontsec and restart cwRsync service after correcting permissions as you like. Have a look at http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=12 In short : Right click My Computer Go to Properties Go to the Advanced Tab Click Environment Variables In the bottom section (System variables), add the new entry: CYGWIN, with value nontsec Restart the rsync service Make sure the folders you are uploading to have the permissions you want the files to inherit. Doing this, Ive found the uploaded files get the correct permissions. Rgrds Tev cwRsync maintainer NB! cwRsync package does not handle this automatically, because I don't want to disturb an existing cygwin installation. Maybe, it's time to offer it as an option. Hi all, I'm rsyncing a windows 2003 client to a windows 2003 server using the cwrsync installation package. The trouble is that the permission rights set by rsync on the destination server are very restrictive and don't allow another application to access the files. I'd like to change that. However, the GID and UID parameters in the rsyncd.conf file don't seem to manage that. With the rsync service running as a user or with the system account, it doesn't change the permissions the way I want it. I haven't found clear explanations in the web or the mailing list archives (it looks way too much linuxian to me !). So, questions : Is the cwrsync package enough to manage permission rights or do I have to use the complete CYGWIN thing ? If the cwrsynvc package can handle it, how can I set the permissions I want (or at least make the destination directory inherit from the permissions set) ? Advices And Answers Are Always Appreciated. Stéphane Rohart -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
SV: measuring 2.6.1 improvements
Hi, Results of a simple performance test on cygwin : 333 files, 30 MB, flat directory, 3 test runs after ramp-up, Client : cygwin 1.5.9/ssh 3.8p on XP Server : cygwin 1.5.9/ssh 3.8p on windows 2000 Server (VMWARE) 2.6.0 client to 2.6.0 server : 1 017 KB / sec 2.6.1 client to 2.6.1 server : 1 206 KB / sec Performance improvement : 18,5 % - Very soon, I will update cwrsync (http://itefix.no/cwrsync) with rsync 2.6.1 and ssh 3.8.1p1. Rgrds Tev -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] vegne av Wayne Davison Sendt: 27. april 2004 23:50 Til: Eric Whiting Kopi: [EMAIL PROTECTED] Emne: Re: measuring 2.6.1 improvements On Tue, Apr 27, 2004 at 02:14:10PM -0600, Eric Whiting wrote: I was watching the memory usage with a bash command line while loop while(true);do cat /proc/$pid/status |grep VmSize ;sleep 60;done A very nice way to do that. You might want to watch the VmRSS value, which will tell you how much of the memory is resident. A lower RSS value means it will play nicer with other processes when memory is full. Wayne Davison wrote: If you want to see an even larger improvement, compare the use of the -H option (--hard-link) between versions (and note how much less data is sent over the wire too). I'm confused. I don't think I have hard links in this tree. This improvement will not help me without hard links will it? No, it won't help your situation. If your goal is to fine-tune your setup, ignore this comment. If your goal is to measure improvements in how rsync 2.6.1 handles memory compared to earlier versions, the improvement when -H is used is very pronounced and worth a look-see. Not sure about my fork() -- here is the sys info: linux kernel 2.4.21 Linux has copy-on-write memory sharing for fork(). I'm not sure how to ask /proc for the shared-memory value, though. I usually use top for that. ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- 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: RSync on Windows 2003
Hi, cwRsync installation asks you a directory to keep your writeable modules in. Make sure that all writeable modules (read only = false) point to directories lying under this directory. In that way, you will make sure that -cwrsync- account has correct permissions and ownership. In your case, this directory should be C:\ARCHIMED_INSTANCE. Of course, you can override this behaviour by specifying an other directory. You must then make sure that account -cwrsync- has full permissions to this directory. Don't forget to use CYGWIN=nontsec in your batch files when running rsync. Rgrds Tev cwRsync maintainer Rgrds Tev cwRsync maintainer Hello, I'm desperately trying to have a RSync server work on a Windows 2003 Standard Server. All the documentation available I have found applies to Windows NT/2000/XP I don't know whether 2003 works differently from the previous Windows. I have installed the cwrsync package. The RSyncServer Service is running fine under a user account named cwrsync. A successful Telnet on the port 873 tells me that the rsync service is responding. Here is my rsyncd.conf File : - use chroot = false strict modes = false hosts allow = * log file = rsyncd.log pid file = rsyncd.pid [test] path = /cygdrive/c/ARCHIMED_INSTANCE/MASC/Standard/cwrsync/DATA/ read only = false transfer logging = yes - From what I have seen in web pages, this file is correctly configured. Here is my rsync command line for testing the service locally : - rsync -vz /cygdrive/c/ARCHIMED_INSTANCE/MASC/Standard/cwrsync/doc [EMAIL PROTECTED]::test - I keep getting the following error : - @ERROR: chdir failed rsync: connection unexpectedly closed (33 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) - I guess chdir refers to the directory with the files to be copied (the one in the rsync command line) but I can't figure why there is an error. I've checked and rechecked the path. The account cwrsync has full control over the chdir so it should see it. I really don't understand what's going on. Is this problem Windows 2003 related ? Does ssh have anything to do with it ? Or is it some dumb configuration mistake I've been missing these last 3 hours ? Any help would be greatly appreciated. Stéphane Rohart -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
SV: rights or read only
Hi, By default, only local administrators group and service account (an ordinary user) have full permissions to upload directories. In addition, member of local users group have read access. If you want more, you can simply change permissions to whatever you want (properties-Security). Make sure that you also set CYGWIN environment variable to 'nontsec' via Control Panel-System-Advanced-Environment variables-System variables. Hope it helps. Rgrds Tev cwRsync maintainer -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] vegne av Matt Vorwald Sendt: 16. mars 2004 23:52 Til: [EMAIL PROTECTED] Emne: rights or read only NetWare 6 sp4 server to windows 2000 server using cwrsync 1.2.1 when the cwrsync service writes the files to the server it uses it's own username and permissions. Does anyone have any suggestions as to how I can get this to write the files so common users and delete and change stuff? would the perverse permissions work with windows? Thanks, Matt Vorwald Network Engineer Lumber Specialties -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- 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: Ownership lost: linux - windows - linux
Hi, I want to make sure that cwRsync is NOT a separate product/solution or whatever. It is simply a packaging of rsync on cygwin to make deployment/installation easier. cwRsync is a minimalist environment and does not support keeping ownership information between transfers. You should go for a full blown cygwin environment and use CYGWIN=ntsec if you really find out what support you can expect. I suspect that you may have a limited success, since Cygwin is a Linux emulation layer on Windows and Windows with NTFS filesystem has a quite complicated ACL system. Rgrds Tev cwRsync maintainer -- Original Message --- From: Pier Paolo Glave [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thu, 15 Jan 2004 08:06:06 -0800 (PST) Subject: Ownership lost: linux - windows - linux Hi, I have a problem of loss of file ownership with rsync. For some odd reasons, I have to use a windows machine as rsync server, and to backup/restore a filesystem from/to a linux client. All files in my linux filesystem are owned by root, with gid root. If I save the files onto the windows rsync server from linux using rsync, and then restore them back to linux, the ownership for all files changes, becoming uid=400, gid=401. All other file attributes are correctly preserved, including read/write permissions and even setuid bits. Could you help me solving this problem? On windows I'm using cwRsync 1.1.0 on a 2003 server. Here is my rsyncd.conf on windows: --- start of rsyncd.conf use chroot = false strict modes = false hosts allow = * log file = rsyncd.log pid file = rsyncd.pid [myalias] path = /cygdrive/c/cwrsync/data/mydir read only = false transfer logging = yes --- end of rsyncd.conf On linux I'm using rsync 2.5.6, launching it with this syntax: /usr/local/bin/rsync -a -v -c --progress --stats rsync://IPADDRESS/ALIAS LOCALDIR Thank you for any help. -- Pier Paolo Glave __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html --- End of Original Message --- -- 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: rsync not saving files on windows 2000
Hi, Have a look at my website http://itefix.no/cwrsync I suppose , you have problems with permissions and ownerships. Make sure that your windows 2000 account OWNS directories you try to sync and run rsync with env.variable CYGWIN=nontsec. Rgrds Tev - Original Message - From: Mike Morrell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 20, 2003 5:03 AM Subject: rsync not saving files on windows 2000 I am trying to setup a windows 2000 server with rsync and cygwin. I think I almost have it working except that when the file copy is finished my files are nowhere to be found on the windows server. I am not getting any error messages. I am connecting from a win98 machine on the same network. Any ideas on how I can get this working or get more info to debug. Thanks. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- 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: Problem on XP with --delete option
Hi, Run rsync from a batch file where you set env.variable CYGWIN=notnsec. Further instructions and an example can be found at http://itefix.no/cwrsync Check who owns your files. You have to make sure that the account that starts rsync also owns directories you want to sync. Rgrds Tev - Original Message - From: Hergaarden, Marcel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:39 AM Subject: Problem on XP with --delete option Hi, I'm experiencing a problem on rsync with the --delete option. Situation: Server = Mandrake Linux 9.2 running rsync daemon Client = Windows XP workstation running cygwin + rsync2.5.1 combined with ssh. All this implemented conform the website of Robert Scholten (http://optics.ph.unimelb.edu.au/help/rsync/) Every thing seems to work fine exept for the --delete option. The rsync says: IO error encountered - skipping file deletion The transfer of files works fine, no I/O errors at all. Do you guys have any suggestion for me ? Thanks in advance. Kind regards _ Marcel Hergaarden -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- 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: Problem on XP with --delete option
Sorry for the mistake. Should be CYGWIN=nontsec. - Original Message - From: Tevfik Karagülle [EMAIL PROTECTED] To: Hergaarden, Marcel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:48 AM Subject: Re: Problem on XP with --delete option Hi, Run rsync from a batch file where you set env.variable CYGWIN=notnsec. Further instructions and an example can be found at http://itefix.no/cwrsync Check who owns your files. You have to make sure that the account that starts rsync also owns directories you want to sync. Rgrds Tev - Original Message - From: Hergaarden, Marcel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:39 AM Subject: Problem on XP with --delete option Hi, I'm experiencing a problem on rsync with the --delete option. Situation: Server = Mandrake Linux 9.2 running rsync daemon Client = Windows XP workstation running cygwin + rsync2.5.1 combined with ssh. All this implemented conform the website of Robert Scholten (http://optics.ph.unimelb.edu.au/help/rsync/) Every thing seems to work fine exept for the --delete option. The rsync says: IO error encountered - skipping file deletion The transfer of files works fine, no I/O errors at all. Do you guys have any suggestion for me ? Thanks in advance. Kind regards _ Marcel Hergaarden -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- 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: cwRsync 2.5.7
Hello, I tried two snapshots from http://cygwin.com/snapshots : 20031214 and 20031206. The first one (14.dec) hangs all the time. The second one (06.dec) doesn't hang at all according to my tests!! I released an updated cwRsync package(1.0.3a) with the latter snapshot. It can be downloaded from http://itefix.no/cwrsync/cwRsync_1.0.3a_Installer.zip. It is definitely worth to test !! Rgrds Tev - Original Message - From: Jim Kleckner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 14, 2003 1:27 AM Subject: Re: cwRsync 2.5.7 John Hunt wrote: On Wednesday 10 Dec 2003 17:27, John Hunt wrote: Tevfik On Tuesday 09 Dec 2003 18:13, Tevfik Karaglle wrote: ... Sorry to report that it hangs at the end of transfer, as did (cygwin packaged) 2.5.6. I have reverted again to 2.5.5 (from an old cygwin installation) that works well for me. Sorry, I realise now that I have confused two conversation threads. One relating to patches to 2.5.6 for security, and another relating to patches to fix the hang problem. Wishful thinking on my part that 2.5.7 might have fixed the latter! ... The problem appears to be in the cygwin dll. See: http://www.cygwin.com/ml/cygwin/2003-12/msg00414.html Until the fix makes it out as a release, there will continue to be lots of this kind of report. Right now it is just fixed in a snapshot. Jim -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
cygwin + rsync : tips about permissions problem
Hi, If you experience problems with permissions, make sure that your subdirectories inherit their permissions from the parent directory and you start rsync from a batch file where you set CYGWIN environment variable to nontsec. Example : @echo off set CYGWIN=nontsec cd C:\Program Files\cwRsync echo C:\Program Files\cwRsync\rsync.log date /T C:\Program Files\cwRsync\rsync.log time /T C:\Program Files\cwRsync\rsync.log rsync.exe --verbose --recursive --delete /cygdrive/d/x/xxx xxx.xxx.xxx.xxx::test C:\Program Files\cwRsync\rsync.log I would also like to inform that I updated my cwRsync package with the latest rsync binary (2.5.7). http://itefix.no/cwrsync Rgrds Tev -- 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: minimalist rsync on windows
Hi again, Well, I know that there many other solutions. I can only describe what works for me: 1 Install cygwin ssh.exe and related DLLs (cygcrypto-0.9.7.dll, cygz.dll) in the cwrsync directory 2. On rsync server side, MAKE a symbolic link to rsyncd.conf from your home directory 3. Run the following command to initiate rsync over ssh rsync --rsh ssh -l login myfiles on my pc server::module Maybe your plink works just fine instead of ssh. Then you can skip step 1. Rgrds Tev - Original Message - From: Brian [EMAIL PROTECTED] To: Tevfik Karagülle [EMAIL PROTECTED] Sent: Friday, November 21, 2003 6:53 AM Subject: Re: minimalist rsync on windows Hi Tevfik, Yes, thank-you. I am trying to use it. But, I am just having a lot of trouble and I am sure it is something very small. I attached the /var/log/auth.log messages for 1 rsync attempt when trying to connect using this command: C:\Program Files\cwRsyncrsync -e plink.exe -pw * css1.css [EMAIL PROTECTED]:bree rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at /tmp/rsync-2.5.6/i o.c(177) -- plink is a command-line ssh program from the Putty distribution. I put plink in the same cwrsync dir. Can you please look at my attached log entries for this connection, (not to long)? --- My relevant rsyncd.conf: # GLOBAL OPTIONS log file=/var/log/rsyncd.log pid file=/var/run/rsyncd.pid syslog facility=daemon #socket options= # MODULE OPTIONS [bree] comment = public archive path = /home/rsync_test/bree use chroot = yes lock file = /var/lock/rsyncd read only = no list = yes uid = root gid = root auth users = brian stacey ignore errors = no ignore nonreadable = yes transfer logging = no timeout = 600 refuse options = checksum, dry-run dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz Also, my desired result is to have something like yours or the rsync-minimalist version with an open license but very few files and small in space requirements. I will be using rsync only as a client to connect and backup to a Linux server. Brian -- ContagiousDesign! web . design . software . photo Brian Rose . programmer Stacey Rose . designer (604)-588-8827 . contagiousdesignATshawDOTca To email, replace AT DOT with the symbols. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
A weird solution to the rsync zombie (hanging) processes on win32/cygwin
Hi, I've been following discussions around rsync hanging problems on cygwin for awhile. Since the problem occurs at the end of the pipeline after files are copied successfully, I thought we can make a kind of workaround : Kill those processes in a controlled way. My solution is a perl script : zombrsync.pl. This script does the following : Endless loop start - get a before-snapshot of all rsync processes - wait (60 secs pr default, can be adjusted from command line) -get a after-snapshot of all rsync process again - Skip rsync daemons (no tty, and different window and posix pids, something from cygrunsrv I guess!!) - Check if the process used processor time (user+system) during our snapshot interval - If the answer is no, then this process is a zombie according to our criteria - KILL IT. Endless loop end The script requires that you start rsync via cygrunsrv and cygwin ps command is available. You need also Win32::Process::Info and all related perl modules (Win32::API and so on !!) I tested it on a Windows 2000 machine where I had problems. It works quite well. A compiled version (EXE file) can be made available at request. I also have plans to enhance my cwRsync solution (http://itefix.no/cwrsync) with this feature. Daemonizing, some tests and packaging must be done first. I will appreciate if some of you can test the script on your platforms and give me feedback. Here's script : zombrsync.pl start -- ### # # zombrsync.pl - Kills rsync zombie processes on Win32/cygwin platform # # v0.5 - Beta version (last one hopefully!), [EMAIL PROTECTED], http://itefix.no/itefix-en # # Usage : zombrsync.pl [-i | --interval checkpoint interval in seconds] (default 60 secs) use strict; use Win32::Process; use Win32::Process::Info; use Getopt::Long; our $interval = 60; our @winpid = (); our %pid = (); our %tty = (); our ($pi, @apsinfo, @bpsinfo); GetOptions ('interval=i' = \$interval) or die Usage : $0 [-i | --interval seconds]\n; $pi = Win32::Process::Info-new (); # Behave yourself as a stupid daemon !! while (1) { # Get BEFORE-snapshot GetPslist (); @apsinfo = $pi-GetProcInfo (@winpid); sleep ($interval); # Wait # Get AFTER-snapshot GetPslist (); @bpsinfo = $pi-GetProcInfo (@winpid); # Check zombies foreach my $process (@winpid) { # Do nothing if rsync is not attached to a tty AND # windows process id is not equal to posix process id (daemon?) next if (($process != $pid {$process}) ( $tty {$process} eq '?')); # Well, here we have a candidate, let's check if no processor time is used # during our checkpoint interval my $aps = $apsinfo[$process]; my $bps = $bpsinfo[$process]; my $atime = $aps-{'KernelModeTime'} + $aps-{'UserModeTime'}; my $btime = $bps-{'KernelModeTime'} + $bps-{'UserModeTime'}; if ($atime == $btime) { # Got it, a zombie according to our criteria Win32::Process::KillProcess($process, -1) ; print localtime () .: rsync zombie process $process killed.\n; } } } # # # GetPslist : uses cygwin ps command to get a picture of process status # sub GetPslist { open PSFILE, ..\\ps -a | or die Problems during opening pipe : $!\n; @winpid = %pid = %tty = (); # Initialize global structures while (PSFILE) { next if ! (/rsync$/); # only interested in lines ending with rsync split; # ps -a output : PID PPID PGID WINPID TTY push @winpid, $_[3]; $pid { $_[3] } = $_[0]; # winpid -- pid $tty { $_[3] } = $_[4]; # winpid -- tty } close PSFILE; } - zombrsync.pl end Enjoy! Rgrds Tev -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html