/mnt/dietpi_userdata/mysqlfiles of course can be copied which will work fine with all MariaDB versions >= the one that created those tables.
If the drive is now mounted again, does
ls -Al /mnt/dietpi_userdata/mysql/nextcloudshow the database tables? And when MariaDB starts up fine, does it show any errors?
Code: Select all
systemctl status mariadb journalctl -u mariadb