mariabackup of database running in docker
Create a symlink on your host so that Mariabackup thinks /var/lib/mysql exists. Then delete the symlink once you're done.

$ sudo ln -s /mnt/data /var/lib/mysql