NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Radjin
Apr 07, 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/media
rsync://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
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/media
Radjin
Apr 07, 2020Aspirant
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/media
rsync://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.
- RadjinApr 08, 2020Aspirant
Radjin wrote:
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/media
rsync://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.
Using the above worked perfectly with the small change I made just below that. I'm amazed at the speed difference. I can only guess it's due to actually connecting to the rsync server rather having one machine scanning through a SMB connection.
Thanks for all your help.
- StephenBApr 08, 2020Guru - Experienced User
I'm glad I was able to help.
FWIW, the rsync: bit was needed because rsync defaults to running rsync-over-ssh when you have a remote source or destination. That ensures the network connection is encrypted/secure, but isn't necessary when you are running on a home network. Normally I use rsync backup jobs in the NAS to back up over the network, and had forgotten that.
- RadjinApr 11, 2020Aspirant
Have you ever accessed the terminal through ssh and ran rsync that way? Looking at posts here it looks like the GUI does not always use the most efficient options.
- StephenBApr 11, 2020Guru - Experienced User
Radjin wrote:
Have you ever accessed the terminal through ssh and ran rsync that way? Looking at posts here it looks like the GUI does not always use the most efficient options.
Not recently. I use rsync backup jobs to for my NAS to NAS backups. They run on a schedule, which is more convenient (and consistent) then running them manually.
My PC backup jobs use Acronis TrueImage (I use Windows, not MacOS). Desktops are scheduled (by Acronis); I do back up the laptops manually.
Radjin wrote:
Looking at posts here it looks like the GUI does not always use the most efficient options.
What specific options you are thinking of?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!