On (04/01/06 08:55), Ed Curtis wrote: > I'm rsyncing some directories to an offsite machine for backup purposes > and am running into some problems with permissions. I'd like to keep the > same owner,group and permissions on each file rsync'd. I've tried > > rsync -a {src} [EMAIL PROTECTED]:/{dest} > > and > > rsync -pog {src} [EMAIL PROTECTED]:/{dest} > > and the owner always gets changed to "daemon" and the group to "users". > The file permissions seem to be preserved with either option set. What do > I need to keep the same owner,group?
I explored this a while back and found the easiest (for me) solution was to run rsync as a daemon on the {src} machines and run the backups from the {dest} machine using a cronjob - my notes are here: http://www.clivemenzies.co.uk/selfhelp/FileServer_Install_manual.html Regards Clive -- www.clivemenzies.co.uk ... ...strategies for business -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]