Rsync module path needs to be a home directory
Posted
by
Malfist
on Stack Overflow
See other posts from Stack Overflow
or by Malfist
Published on 2009-03-16T19:34:59Z
Indexed on
2012/09/28
3:38 UTC
Read the original article
Hit count: 105
I'm trying to use rsync to backup windows servers to an rsync server. I'm having problems with rsync on the linux side though, it doesn't like symlinks.
Currently I'm trying to use the module path of ~/backup
, but rsync says that the chroot failed. I looked up what to do and saw that I needed to add the option use chroot = no
and munge symlinks = no
. That fixed the @ERROR: chroot failed
but now it's telling me @ERROR: chdir failed
and the log files say that there is no ~/backup directory. I know the user I'm authenticating with has a backup folder in his directory.
How can I fix this?
For reference I'm using a .NET port of rsync called NetSync and tunneling it over a port forwarded SSH connection generated with granados.
© Stack Overflow or respective owner