- To connect to RSYNC servers use the command
rsync -avz 192.168.0.4::stuff/”My Music” /mnt/stuff/
- -avz = Arhive mode, Verbose Mode, Compression
- 192.168.0.4 = The Server we are connecting to
- ::stuff = the module name from the /etc/rsyncd.conf on the server
- /”My Music” = The folder inside the sync that i want
- /mnt/stuff = the local folder that i want the sync to copy to
I notice you specified archive mode in the command. But how are you getting rsync server to preserve user and group ownership in the copied files. Especially if you are using:
uid = nobody
gid = nogroup
…in your /etc/rsyncd.conf file
LikeLike
I cant remember what it was doing with the file ownership i havnt get that server anymore but i now use this method.
https://cwraig.id.au/?p=96
Goodluck
LikeLike