Re: question about --link-dest and the rsync protocol

Paul Slootman via rsync <[email protected]> Sun, 12 Jan 2025 15:36:51 +0100
Newsgroups gmane.network.rsync.general
Message-ID <[email protected]>
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

-- 
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