NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dacarson
Oct 03, 2022Aspirant
RSync over SSH failing without logs or details
MacOS Photos requires that you store your photos in their special filesystem. My MacOS doesn't have sufficient disk space to store all my photos and I would like them to be backed up. I created a di...
dacarson
Oct 03, 2022Aspirant
Because the disk image is too big to back up, I am actually copying the photos out of the disk image into a flat directory structure. Pasted below the Backup screens.
When I click Test Connection, It says:
Successfully connected to:
10.0.1.90:/Volumes/DavidPhotosBig/
StephenB
Oct 03, 2022Guru - Experienced User
dacarson wrote:
Because the disk image is too big to back up, I am actually copying the photos out of the disk image into a flat directory structure.
Sorry, I was confused on what you are saying. I don't know how to configure an rsync daemon on the mac (setting it up to allow access to the disk image) - I'm not a Mac user. Perhaps someone else here can give you some tips.
Have you tried doing this the other way around - running rsync on the Mac, with the NAS share as the target? That might be easier. I suggest starting with rsync, instead of rsync over ssh. Then you can sort out getting the ssh part to work after you get rsync running.
If the disk image is mounted on the Mac, you could also use something like FreeFileSync.
- dacarsonOct 03, 2022Aspirant
Thanks for your help.
RSync over SSH was working just fine, so I am not sure why it is now failing, and I don't know how to get ReadyNAS to provide to me a detailed failure description. All I get is that 'it failed'.
If there was a location on the ReadyNAS where I could log in and see a full transcript of the Backup job, that would be helpful. Or even if there was a way to get the command line that the ReadyNAS runs, I could try running it manually myself from the console on the ReadyNAS I could see where it failed.I have not tried it the other way, ie run the job on the Mac as I don't have a good way to schedule jobs on the mac. Let me look into FreeFileSync. (Though it is unfortunate that the tools provided by ReadyNAS that I paid for as part of my ReadyNAS don't work)
- StephenBOct 03, 2022Guru - Experienced User
dacarson wrote:RSync over SSH was working just fine, so I am not sure why it is now failing, and I don't know how to get ReadyNAS to provide to me a detailed failure description. All I get is that 'it failed'.
So this exact scenario was working before (using an rsync-over-ssh backup job to pull files from a remote MacOS disk image)?
Are you seeing any photos in the destination share?
dacarson wrote:
If there was a location on the ReadyNAS where I could log in and see a full transcript of the Backup job, that would be helpful. Or even if there was a way to get the command line that the ReadyNAS runs, I could try running it manually myself from the consoleThis isn't as much information as there could be here. Backups are run using a Netgear backup utility (/frontview/bin/fvbackup). As far as I can tell, that generates the actual backup command(s) on the fly. There are some logs in /var/log/frontview/backup/, but they don't have the info you are looking for. journalctl --no-pager | grep -i rsync might give you a little info - but in my experience, not a whole lot.
You might be able to catch the command line from ssh using something like ps -aux | grep -i rsync if you can enter this while the backup job is running.
dacarson wrote:
Though it is unfortunate that the tools provided by ReadyNAS that I paid for as part of my ReadyNAS don't work
FWIW, I am thinking the actual problem is on the mac side. The NAS can connect to the rsync daemon there, but that doesn't mean that the rsync daemon is configured to access the files in the disk image. But as I said earlier, I'm not a mac user.
- dacarsonOct 03, 2022Aspirant
Thank you. I think I found the issue:
root@ReadyNas:~# cat /var/log/frontview/backup/backup_001_error.log
Failed to run rsync, return rc 23
rsync: opendir "/Volumes/DavidPhotosBig/.TemporaryItems" failed: Permission denied (13)
Related Content
NETGEAR Academy

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