On Tue, Aug 13, 2013 at 10:10:04PM +0530, Sherin A wrote:
> I am  doing rsync from  root@10.0.0.10/home/foo  to
> storageuser@10.0.0.20/home/storageuser/dailybackup/foo  over ssh (no
> role for -H)
Why not rsync from root to root?  Or use the rsync protocol (not over
ssh).  Note that you can use -H with ssh just as well; running "over
ssh" just launches a pipe to rsync command over an ssh connection,
rather than connecting to an rsync daemon listening over socket.

> PS : if any one interested in making a patch with an additional
> option for rsync for  excluding hardlinks with   -links +1 links ,
> please help me , it is easy to  check the file  with an lstat / stat
> system call. Or  is it possible to get a developer documentation for
> rsync with the detailed info ?
You could do that with --exclude, but first, think about the
implications of that.  Your users could make hardlinks to system
files and those owned by other users files (which they can stat) and
that would cause rsync to avoid backing up those files (by either
name, since link count is shared between all links, of course).

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