Re: --link-dest mostly useless on a server without chroot
On Sat, Mar 27, 2004 at 02:13:50PM -0500, Andrew Pimlott wrote: > Cool! I assume it's something like > > rsync --link-dest /current /mydirtobackup server::backup/new > > ie, you don't put the module name in the link-dest. Correct. It works the same when the module is hosted chrooted or not -- i.e. '/' is the root of the module. > Hopefully, this is documented. :-) There is a mention of this in the docs that I added. ..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
Re: exclude confusion: what does it match against?
On Sat, Mar 27, 2004 at 10:29:35AM -0800, Wayne Davison wrote: > Thanks, I edited this down a little and included it in my suggested doc > change (it's now in CVS). Thanks! I think with those examples, everyone should be able to figure out what to do. Andrew -- 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: --link-dest mostly useless on a server without chroot
On Sat, Mar 27, 2004 at 01:54:29AM -0800, Wayne Davison wrote: > On Fri, Mar 26, 2004 at 09:02:42AM -0800, Wayne Davison wrote: > > Yes, those options should really replace "/" with the root dir of the > > module when chroot isn't specified (rather than just stripping the slash > > off). > > This is now fixed in CVS. Cool! I assume it's something like rsync --link-dest /current /mydirtobackup server::backup/new ie, you don't put the module name in the link-dest. Hopefully, this is documented. :-) Andrew -- 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: exclude confusion: what does it match against?
On Fri, Mar 26, 2004 at 08:55:48PM -0600, John Van Essen wrote: > This is another opportunity to (try to) make more clear the > effects of using a trailing slash on the source and using the > --relative option. They not only affect the absolute-path > pattern but also where the source file ends up on the target. > > I'd like to see something like this included in the explanation. Thanks, I edited this down a little and included it in my suggested doc change (it's now in CVS). Feel free (anyone) to critique what I've done if you think it could be improved further. ..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
Re: rsync/cwsync dir spaces on the path
Because spaces are part of the syntax of the rsyncd.conf, you'll need to work around them. Wildcards are outside the concept of modules, as referring to the module is referring to a specific location on the filesystem, not a range of possible choices. You can either use symlinks to give nice clean names, [EMAIL PROTECTED] /home/cnwt99>ls -l mydocs lrwxrwxrwx1 cnwt99 mkgroup- 170 Mar 8 13:49 mydocs -> /c/Documents and Settings/cnwt99/My Documents [EMAIL PROTECTED] /home/cnwt99> or find the short name for the items. C:\cygwin\home\cnwt99>dir /? /X This displays the short names generated for non-8dot3 file names. The format is that of /N with the short name inserted before the long name. If no short name is present, blanks are displayed in its place. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi: First let me say that rsync/cwrsync is amazing ! And sorry ! if I'm bothering you with this question... I need to sync my work files from the WinXP Pro machine to our Solaris one... so far so fine.. My problem is when I specify the path on the rsyncd.conf (cwrsync) I have tried many combinations from: /cygdrive/c/Documents*/rbadilla/My*/clients /cygdrive/c/Documents*/rbadilla/ "/cygdrive/c/Documents and Settings/rbadilla" /cygdrive/c/Documents\ and\ Settings /cygdrive/c/Documents*tings /cygdrive/c/"Documents and Settings/rbadilla" Until now I always get the " chdir /cygdrive/c/XXX failed : No such file or directory " Can you enlight me??? -- 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: Root access over ssh?
Please tell me you're just going along with the joke. In case you're not, please immediately remove those lines and rehup your inetd. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] > you might as well also add "opendoorstream tcp nowait root > /bin/sh sh" to your inetd.conf and "opendoor666" to services. Hmmm, thanks for the advice, I tried this, but my rsync still isn't working. -- 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: --link-dest mostly useless on a server without chroot
On Fri, Mar 26, 2004 at 09:02:42AM -0800, Wayne Davison wrote: > Yes, those options should really replace "/" with the root dir of the > module when chroot isn't specified (rather than just stripping the slash > off). This is now fixed in CVS. ..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