The usbbackup plugin offers a very convenient option for backing up shared folders. However, since the concept of shared folders does not quite fit in with my intended solution, I am looking for a way to execute a shell script as soon as a USB HDD with a specific serial number is connected to the system.
The plugin/script should mount the HDD connected via USB in a specific directory and execute an existing backup script in the next step.
Unfortunately, I have no idea how to check whether the disk is connected or not in order to execute the backup script.
Is there a suitable plugin for this, or other solutions?