Matt: 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 "chown".
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. Zhiming Zhou 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. > > Matt > >
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html