Hi,
I am trying to transfer some files to a
remote rsync server. I have to preserve the ownership of these files in the
remote server for future possibility of copying them back.
The command I am using is:
rsync -Cav /var/log/mp3log
server2::var/log/mp3log
I have tried to add -o and -g options but
still can't reach my purpose. I also remember to add a same user name to the
remote rsync server. So what's the problem of my command?
Another question is: if I don't specify the
root uid and gid in rsync.conf, it seems the rsync on the remote server
doesn't has enough privilege to create folds, because it is using the uid
99 which is nobody. However, I can't find these same options as
mine in the example script files. So what is the proper way to set the
uid and gid options?.
Any suggestion is appreciated. Thanks!
my rsyncd.conf:
uid = root
gid = root [var]
path = /var comment = /var read > list = yes Dong
|
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html