--link-dest and file/dir transfer to remote rsync daemon

Wayne Davison wayned at samba.org
Thu Apr 27 16:48:17 GMT 2006

On Wed, Apr 26, 2006 at 03:22:49PM +0200, Alexander Grahn wrote:
>   rsync --port=54321 -a -v --link-dest=../yesterday mydir alpha::backup/today

If you don't have "use chroot = yes" in your daemon config, rsync can
get overzealous in its sanitizing of the options and eliminate the ../
from your --link-dest option.  I'd suggest using "/yesterday" instead,
since that will anchor at the root of the module in any modern rsync.


More information about the rsync mailing list