We’re able to backup our MySQL or MariaDB databases on a schedule using the following docker image

https://github.com/tehsu/docker-backup-mysql