rsync question

Hello, my question on rsync is this:

On serverA I want to mirror the dirs
/var/lib/mysql
/usr/local/www
To serverB and have the dirs
/var/lib/mysql
/usr/local/www on serverB

Both dirs have diff owner and permissions.
I understand I can copy using rsync keeping perm and everything intact.
If I run rsync --daemon on serverA do I need to login from serverB to
ServerA as root or will ther be a permissions issue if I login as a none priv user?
 
I also used the nfs share solution as well but there is also a way to use scp to move the files without having to mount a nfs share... I've never been able to get it to work for me, but then again, I didn't spend to much time trying either....
 
Back
Top