Does "--link-dest" option supports link to remote backup server?

Matt McCutchen matt at mattmccutchen.net
Sun Sep 28 14:13:11 GMT 2008


On Sun, 2008-09-28 at 15:39 +0800, Zhiming Zhou wrote:
> Today I have a remote rsync server, I suppose the "--link-dest" option
> should also works in remote server, so I use rsync like this:
> 
> rsync -a --link-dest=/remote/old /tmp/myfile
> user at 192.168.0.10::backup/remote/new
> 
> and "/remote/old" directory on 192.168.0.10 is backuped some days
> ago, 
> however, with command memtioned above, unchanged files in
> "/remote/old" are not changed(linked).

That command should work.  If you pass -i, the output will tell you
whether rsync isn't finding the files in /remote/old at all or whether a
preserved attribute differs.

Matt




More information about the rsync mailing list