<div dir="ltr">On Tue, Aug 13, 2013 at 9:40 AM, Sherin A <span dir="ltr"><<a href="mailto:sherinmon@gmail.com" target="_blank">sherinmon@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">I am doing rsync from </span><a href="http://root@10.0.0.10/home/foo" target="_blank">root@10.0.0.10/home/foo</a><span style="color:rgb(34,34,34)"> to </span><a href="http://storageuser@10.0.0.20/home/storageuser/dailybackup/foo" target="_blank">storageuser@10.0.0.20/home/<u></u>storageuser/dailybackup/foo</a><span style="color:rgb(34,34,34)"> over ssh (no role for -H) , so the storage files must be under the ownership of storageuser and not the original owner</span></div>
</blockquote><div><br></div><div>You should use the --fake-super option on the remote rsync so that it saves & restores original ownership using xattrs (the manpage describes the syntax you'd need, or there is a daemon option if an rsync daemon is involved). That way you get proper, original-owner restores.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
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</blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">
This is not something I'll be looking into, FYI.</div><div class="gmail_extra"><br clear="all"><div>..wayne..</div><div><br></div></div></div>