bin not really, but you'd have to adapt it anyway because it works with Backblaze B2 currently.
It's meant to be run as a cron job though, so you would need to set it up through crontab -e
. In my case the job is something like this:
0 */6 * * * bash /backup/db/mysql/flarum/mysql-flarum-backup.sh >> /backup/db/mysql/flarum/backup.log 2>&1
If you have no idea of what I'm talking about I wouldn't really recommend this though.
There are probably easier ways to backup a MySQL database. I used BackupSheep in the past, it was... decent: https://backupsheep.com/