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 Windows (cw)Rsync Client --> Linux Rsync server 1) Should we abandon cwrsync for cygwin + rsync? Have the disparities between the two versions been resolved? 2) What are the risks with using cwrsync (we want a limited footprint on the client)? 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. One more question, I became confused while reading about the differences in running rsync in daemon mode vs inetd mode and possibly a shell mode. We will be using rsync over an SSH tunnel to start but will eventually switch to rsync over SSL. We want to be able to add module definitions to the rsyncd.conf file as we go along without having to restart the rsync daemon or inetd service. We want this so that we can add new client machines without interfering with other clients use of the server. Is what we are trying to do workable? If so how should we run our rsync server. Thanks so much in advance Doug Lochart -- What profits a man if he gains the whole world yet loses his soul?
--- Doug Lochart <dlochart@gmail.com> wrote:> Windows (cw)Rsync Client --> Linux Rsync server > > 1) Should we abandon cwrsync for cygwin + rsync? > Have the > disparities between the two versions been resolved?I am using cwrsync and it runs fine connecting to Slackware server.> 2) What are the risks with using cwrsync (we want a > limited footprint > on the client)?What risks? The "footprint" is small.> 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.Can't say. I don't use cygwin.> We will be using rsync over an SSH tunnel to start > but will eventually > switch to rsync over SSL.Why? What is wrong with SSH? I do not believe rsync supports SSL natively yet.> We want to be able to add module definitions to the > rsyncd.conf file > as we go along without having to restart the rsync > daemon or inetd > service. We want this so that we can add new client > machines without > interfering with other clients use of the server. > Is what we are > trying to do workable? If so how should we run our > rsync server.The config file containing the module settings is read by rsync at every connection so you do not need to restart the daemon. Alternatively, you can run rsyncd on a single-transfer basis. The remote user invokes the daemon. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hello Peter, Doug, On Wed, 1 Mar 2006 21:40:56 -0500 (EST) Peter <petermatulis@yahoo.ca> wrote:> > --- Doug Lochart <dlochart@gmail.com> wrote: > > > Windows (cw)Rsync Client --> Linux Rsync server > > > > 1) Should we abandon cwrsync for cygwin + rsync? > > Have the > > disparities between the two versions been resolved? > > I am using cwrsync and it runs fine connecting to > Slackware server.[snip] Same here, no problem w/ cwrsync -> rsync. BTW, I even use a minimalist Qt frontend: http://www.mollux.org/projects/rsbackup/. Regards, -- wwp -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20060302/0822be26/signature.bin
> 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 >