I wanted to automatically trigger
The script and dependencies can be installed in any directory you like (it's using a Python virtual environment). The installation makes no modifications to the system outside of its installation directory. This is to ensure it will survive updates of TrueNAS SCALE. Just store it on one of your data pools, and not on the disks where the TrueNAS base system is installed.
It's still fresh so any feedback is welcome
zfs-autobackup
when I attach my (external) backup disk. So I made udev-trigger-zfs-autobackup
. It's used to store (encrypted) backups offline, on disks you can easily swap and store offsite. Works with USB, eSATA and disks in hotswap trays.The script and dependencies can be installed in any directory you like (it's using a Python virtual environment). The installation makes no modifications to the system outside of its installation directory. This is to ensure it will survive updates of TrueNAS SCALE. Just store it on one of your data pools, and not on the disks where the TrueNAS base system is installed.
It's still fresh so any feedback is welcome