NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
NASguru
Dec 10, 2012Apprentice
Rsync disconnects my external USB drive
I read through a number of posts on here and the benefits of Rsync keeping mirror copies without having to perform entire backups. That's a good thing if you have terabytes of data to backup and ther...
NASguru
Dec 17, 2012Apprentice
I finally had some time to circle back on this issue. The good news is I figured out how to make this work where the NAS no longer disconnects my external USB drive. Here are my settings to my backup job for those that may be interested:
Step 1:
Drop down is set to: Remote: Rsync Server
Host is set to: 172.28.1.11
Path: media/Videos/Kids
Remove deleted files on source is checked/enabled
step 2:
Drop down is set to: USB Device (Rear Bottom Port)
Path: /media/Videos/Kids
Unmount usb drive after backup is NOT checked.
Please notice in Step 2 the drop down is NOT set to share: USB_HDD_1. From what I can tell, the default behavior of this selection is to unmount from the external USB drive after the backup job is completed. Unfortunatley, the NAS is never able to mount the USB again following the job so any and all other jobs using it fail. So, changing to use USB Device (Rear Bottom Port) allows the option to unmount be selected and by default it is not enabled which is exactly what I was looking for in the destination. I did not try any other USB port on the NAS or the relevant options for those ports but expect the results to be the same.
That being said, I did notice that this issue (unmounting the external USB drive) did NOT appear when backing up the share FTP1 using the share: USB_HDD_1 as the destination in the drop down along with the relevant path. I have no idea why, but the NAS treats the default media folder differently than the FTP1 folder that I created under the shares. I checked all the settings for both in Frontview and see no difference between them that would result in a different outcome when running the same protocol on the backup jobs. However, SSH to the NAS shows the permissions for the media folder has a 't' at the end of it. Does anyone know if that is the reason or what that means?
drwxrwxrwx 2 nobody nogroup 4096 2012-12-17 14:48 FTP1
drwxrwxrwt 5 nobody nogroup 4096 2012-09-04 17:09 media
Bonus question, does anyone know how to backup a user folder with Rsync. :D I'm having issues with step one failing to communicate with the NAS. I believe it's either the path and/or due to not being able to set Rsync permissions for users like you can for shares. Thoughts?
Step 1:
Drop down is set to: Remote: Rsync Server
Host is set to: 172.28.1.11
Path: homes/John/
Remove deleted files on source is checked/enabled
I also tried the following for the path but that also didn't work. c/home/John
Step 1:
Drop down is set to: Remote: Rsync Server
Host is set to: 172.28.1.11
Path: media/Videos/Kids
Remove deleted files on source is checked/enabled
step 2:
Drop down is set to: USB Device (Rear Bottom Port)
Path: /media/Videos/Kids
Unmount usb drive after backup is NOT checked.
Please notice in Step 2 the drop down is NOT set to share: USB_HDD_1. From what I can tell, the default behavior of this selection is to unmount from the external USB drive after the backup job is completed. Unfortunatley, the NAS is never able to mount the USB again following the job so any and all other jobs using it fail. So, changing to use USB Device (Rear Bottom Port) allows the option to unmount be selected and by default it is not enabled which is exactly what I was looking for in the destination. I did not try any other USB port on the NAS or the relevant options for those ports but expect the results to be the same.
That being said, I did notice that this issue (unmounting the external USB drive) did NOT appear when backing up the share FTP1 using the share: USB_HDD_1 as the destination in the drop down along with the relevant path. I have no idea why, but the NAS treats the default media folder differently than the FTP1 folder that I created under the shares. I checked all the settings for both in Frontview and see no difference between them that would result in a different outcome when running the same protocol on the backup jobs. However, SSH to the NAS shows the permissions for the media folder has a 't' at the end of it. Does anyone know if that is the reason or what that means?
drwxrwxrwx 2 nobody nogroup 4096 2012-12-17 14:48 FTP1
drwxrwxrwt 5 nobody nogroup 4096 2012-09-04 17:09 media
Bonus question, does anyone know how to backup a user folder with Rsync. :D I'm having issues with step one failing to communicate with the NAS. I believe it's either the path and/or due to not being able to set Rsync permissions for users like you can for shares. Thoughts?
Step 1:
Drop down is set to: Remote: Rsync Server
Host is set to: 172.28.1.11
Path: homes/John/
Remove deleted files on source is checked/enabled
I also tried the following for the path but that also didn't work. c/home/John
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!