Restoring Backup user files with preserving UID/GID

Matt McCutchen matt at
Sat Nov 21 01:09:37 MST 2009

On Fri, 2009-11-20 at 19:51 -0700, LuKreme wrote:
> Now I want to transfer all these files to the new machine, but preserving the UID/GID combinations.
> I am assuming that I need to (temporarily) set the rsync daemon on the new machine to run as root. Is that as simple as setting the rsyncd.conf
> uid = root
> gid = wheel
> or is there anything else I need to do?

Yes, from the information it provided, it sounds like that is all you
need to do (and make sure the rsync command uses -o and -g, or -a, which
implies them).


More information about the rsync mailing list