question about --link-dest and the rsync protocol

Paul Slootman paul+rsync at wurtel.net
Sun Jan 12 14:36:51 UTC 2025


On Sat 11 Jan 2025, Anthony LaTorre via rsync wrote:

> Thanks for your quick response. The rsyncd.conf file looks like:
> 
> charset = utf-8
> [user]
>   path = /c/user
>   comment = ""
>   use chroot = true

Note the chroot... So "/" equals /c/user

>   uid = root
>   gid = root
>   read only = false
>   auth users = admin
> 
> I'm still confused about how to specify the path. The actual UNIX path is:
> 
> /c/user/snapshots/rsync_test/last
> 
> I've tried:
> 
> --link-dest=snapshots/rsync_test/last
> --link-dest=./snapshots/rsync_test/last
> --link-dest=../last

I would assume --link-dest=/snapshots/rsync_test/last
should work.


Paul



More information about the rsync mailing list