rsync permission
i want to use rsync to backup all the permission of my file ,just like the own,group,link ,permission,time ¡_¡_¡_¡_
i use rsync -abvS --backupdir=./oldbk but ,when i check it ,i found that the files 'own and group both are nobody ? why cause that? the files is belong to becks ,but the backup one is nobody . and then i copy passwd group shadow from the client to server . but still nobody ~ help me ~please~~tks~ |
TRY THE MAN COMMAND
if you were to read the manual of rsync 'man rsync'
you would know that -o -g backup the owner and group permissions. |
this is not an error or a problem, its laziness.
|
Quote:
please man rsync first youseft : -a, --archive archive mode, equivalent to -rlptgoD but thanks for your reply~ my ploblem still ~ i think that may be the rsynv.conf cause it ~ rsync.conf uid = nobody gid = nobody max connections = 4 pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock log file = /var/log/rsyncd.log [doc] path = /home/bk/doc ignore errors read only = no auth users =doc secrets file = /etc/rsyncd.secrets |
NO BODY HELP ME ?~
|
Quote:
rsync -avzrpog ......... |
still
|
All times are GMT -5. The time now is 08:02 AM. |