How to backup?

The database is not in a folder is in the MySQL or MariaDB you have to use a client to see those databases.

In my opinion, this is not a lack of functionality. If someone wants to install Mautic, make comprehensive tests und then reset Mautic, please make a backup before you test.