Zhiming Zhou
2008-Oct-16 10:25 UTC
link-dest to remote server doesn't work in Linux client
Hello: I first use rsync on Cygwin in Windows, and make a fully old backup like this: rsync -a --force test 192.168.0.10::ttt/old/ 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. And I tried two versions of rsync server, 3.0.4 and 2.6.9, used three versions of rsync client, 3.0.4, 2.6.9, 2.6.2, unfortunately, both 3 versions of rsync in Cygwin links unchanged files as I respected, but none of these versions of rsync in Linux links unchanged files. So, I can't understand why "link-dest" option doesn't work in Linux client? Thanks -------------- next part -------------- HTML attachment scrubbed and removed
Matt McCutchen
2008-Oct-17 01:41 UTC
link-dest to remote server doesn't work in Linux client
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
Apparently Analagous Threads
- Does "--link-dest" option supports link to remote backup server?
- source() behavior I don't understand
- How would I color points conditional on their value in a plot of a time series
- How would I color points conditional on their value in a plot of a time series
- How would I color points conditional on their value in a plot of a time series