[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Best way to duplicate HDs



At 8:39 Uhr -0500 01.01.2002, Keith Elder wrote:
This brings up a  question. How do you rsync something but keep the
ownership and permissions the same.  I am pulling data off site nightly
and that works, but the permissions are all screwed up.

I'm using

rsync -aHx --numeric-ids

and then protect the root folder on the target machine so nobody can enter it and make use of the wrong ownerships. When playing the thing back it will be correct again.

(No problem when copying to another local disk.)

chj.



Reply to: