rsync backup problems

Matt McCutchen matt at mattmccutchen.net
Sun Feb 13 19:49:40 MST 2011


On Mon, 2011-02-14 at 13:27 +1100, Daryl Sayers wrote:
> rsync -x --delete -azHv myremote:/ myremote:/usr myremote:/usr/local /machines/myremote/
> 
> This worked EXCEPT the /usr/local/ was put into /machines/myremote/local/
> and not /machines/myremote/usr/local/.

You want --relative .

-- 
Matt



More information about the rsync mailing list