I'm going to use USB Backup plugin to regularly backup data to 4TB WD HDD installed in Ugreen USB3 enclosure. Here is some information about it:
ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
I have a few questions around that.
1. My enclosure has a pre-set to spin-down a disk after some inactivity period (few minutes). Should I leave it as it is or try to change this behavior?
2. I want the sync happen not only on the disk plug-in, but also on a schedule if the drive remains plugged in.
For #2 I found the old example from ryecoaaron : USB Backup Settings - Just Stopped Working
Will give it a try but need to clarify something first. This script is using some id to refer to the external disk partition. I'm not sure which particular id I should use.
I'm checking on my system and see some id as a part of the script name:
# ll /var/lib/openmediavault/usbbackup.d
total 8
-rwxr-xr-x 1 root root 1636 May 22 10:53 openmediavault-usbbackup-9be5d73708b375775c28a72exxxxxxxx
-rwxr-xr-x 1 root root 1061 May 22 10:53 rsync-54dfab8e-e9d1-4b36-a9d7-d3afxxxxxxxx
However, I was not able to correlate this id with any other id on my system, like UUID, etc. How this id is generated?