So referencing my previous post:
Setting the "Path To Custom Pre-start Script:" didn't work as expected...
[03.02.2023 05:00:45] Backing Up
/usr/bin/tar: ./binhex-qbittorrentvpn/qBittorrent/config/ipc-socket: socket ignored
[03.02.2023 05:02:48] Verifying Backup
./binhex-qbittorrentvpn/qBittorrent/config/qBittorrent.conf: Mod time differs
./binhex-qbittorrentvpn/qBittorrent/data/logs/qbittorrent.log: Mod time differs
./binhex-qbittorrentvpn/qBittorrent/data/logs/qbittorrent.log: Size differs
[03.02.2023 05:04:52] tar verify failed!
[03.02.2023 05:04:52] done
[03.02.2023 05:04:52] Executing custom pre-start script /mnt/user/data/scripts/backup-pre-start
My script kicked off successfully and killed the target processes as expected... Just a bit too late..
Looks like it's pre-start of dockers, not pre-start of backup as I was expecting/assuming. I couldn't find any documentation confirming what it's supposed to be, but from the code, looks like it's a pre-start of dockers:
https://github.com/Commifreak/ca.backup2/blob/master/source/ca.backup2/usr/local/emhttp/plugins/ca.backup2/scripts/backup.php#L323
I haven't touched php in a minute and don't have a good way to test, so I'd be hesitant to submit a PR, but anyway to get a pre-backup-start script option added in?