did you checked location /mnt/dietpi_userdata/mysql
?? It should be possible to copy folder baikal
. Best to stop the old MariaDB server and create a tar archive before moving the files.
Probably it would be needed to migrate files from /var/www/baikal/config
as well