On Mon 04 Jan 2010, d...@safeport.com wrote:
> 
> The command works but copies all files, i.e. no hard links created.
> 
>   rsync -vaxH --numeric-ids --delete --exclude=/home/apache/logs \
>    --link-dest=/mnt/200912/newharbor/home -e ssh newharbor.safeport.com:/home 
> \
>    201001/newharbor/home/
> 
> The command was run without the continuation breaks that I added for
> readability. The command ended with:

You're transferring to a relative destination path, but are using an
absolute link-dest path. I prefer to do that the other way round :-)

I'd do:

rsync -vaxH ... --link-dest=../../../200912/newharbor/home/ \
    newharbor.safeport.com:/home /mnt/201001/newharbor/home/

> I assume this is my error but can not find anything wrong. At most

You could add more -v options to make rsync more verbose, that might
give you hints where it goes wrong.


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

Reply via email to