NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Radjin
Apr 06, 2020Aspirant
rsync permissions update every run.
I use rsync to mirror my media library to my readyNAS 316 from my Mac mini. It's a 14TB library so examples below will only show a few lines. I run the following: rsync -aPvui --delete-durin...
- Apr 07, 2020
StephenB wrote:Try:
rsync -aPvuin --delete-during --delete-excluded --ignore-errors --exclude={'*.Trashes*','*.fsev*','*.DS_*','*.Spotlight*','*Automatically Add*','*Downloads*'} /Volumes/Media\ Drive/ rsync://admin@10.0.1.20:/data/NAS1_Media_Server/Backup/mediarsync://admin@10.0.1.20:/NAS1_Media_Server/Backup/media
Changing to this seems to work:
I am going to let it run and move some date to see what happens.
Thank you.
StephenB
Apr 07, 2020Guru - Experienced User
Are you running this on the Mac?
It looks like both source and destination are local - if so, the NAS volume is likely mapped and shared with SMB. If that's the case, Samba might be changing the permissions.
You could try enabling rsync on the NAS backup share and using admin@nas-ip-address:/Backup/media as the destination
Radjin
Apr 07, 2020Aspirant
Yes, this runs on a Mac and the NAS share is mapped as a local drive with SMB.
I can call rsync on the NAS directly with the IP address?
Would the syntax be:
user: password@IP_Address/Share
Or would I need to get a key from the NAS to avoid manually entering a password?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!