link-dest to remote server doesn't work in Linux client
qexing at gmail.com
Fri Oct 17 02:02:13 GMT 2008
Thanks very much, I noticed that the owner user and group of my "test" files
in local are changed, so rsync thought files are different from remote rsync
server, and the "--link-dest" option does works in Linux now after run
So, is there some option in rsyncd.conf or in rsync command to prevent rsync
to check owner user/group of files between rsync server and client.
2008/10/17 Matt McCutchen wrote:
> On Thu, 2008-10-16 at 18:24 +0800, Zhiming Zhou wrote:
> > Then in cygwin, I use "--link-dest" option to do a incremental backup:
> > rsync -a --force --link-dest=../old/ 192.168.0.10::ttt/new/
> > * "new" directory contains updated files, and unchanged files are hard
> > linked to "old" directory, rsync works greatly!!
> > However, I use rsync in Linux, and run command just the same like
> > above
> > * the "test" directory is fully backuped to "new" directory, and NO links
> are created for unchanged files.
> Make sure the source files have the same mtime and permissions and (if
> rsync is running as root) user and group owners as the files in "old".
> You can pass -i to find out what attribute is preventing the hard links;
> see the description of -i in the man page for the meanings of the
> letters in the output.
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync