link-dest question

Wayne Davison wayned at samba.org
Tue Jan 5 09:26:04 MST 2010


On Mon, Jan 4, 2010 at 12:33 PM, <doug at safeport.com> wrote:

>  rsync -vaxH --numeric-ids --delete --exclude=/home/apache/logs \
>   --link-dest=/mnt/200912/newharbor/home -e ssh newharbor.safeport.com:/home
> \
>   201001/newharbor/home/
>

Is that newharbor/home/home dir really desired?  Without a trailing slash on
the source, the "home" dir is part of the transfer, and will be expected to
exist inside the link-dest dir and will be created inside the destination
dir.  If it is not, either add a trailing slash to the source, or remove the
trailing "home" from both the link-dest arg and the destination.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100105/5788a8ad/attachment.html>


More information about the rsync mailing list