rsync'ing a directory with nothing but symlinks
gherzig at fmed.uba.ar
Thu Feb 18 10:41:01 MST 2010
Matt McCutchen wrote:
> On Wed, 2010-02-17 at 18:14 -0300, Gerardo Herzig wrote:
>> Matt McCutchen wrote:
>>> By default, the daemon chroots into the root directory of the module,
>>> which is causing the symlinks to be interpreted differently than you
>>> intend. Try setting "use chroot = no".
>> Thanks Matt, but still no luck. After "chroot = no" (and chroot =
>> false), and restarting the service, i get the same thing:
>> mataco:/backup/files/vchiriguano # rsync -avz --copy-links
>> backup at machinegun::backup .
>> receiving file list ... symlink has no referent: "/cgi-bin" (in backup)
>> rsync: readlink_stat("/etc" (in backup)) failed: Too many levels of
>> symbolic links (40)
>> sent 61 bytes received 259 bytes 640.00 bytes/sec
>> total size is 0 speedup is 0.00
>> rsync error: some files could not be transferred (code 23) at main.c(1158)
>> Im stucked here :(
> The name of the parameter is "use chroot", not "chroot". I can only
> assume that's the problem, since the output is clearly a result of
You were rigth Matt, i get caught by this "rsync dont stop on
rsyncd.conf's syntax errors"
Now its working, thank you all for the time!
More information about the rsync