How to change MariaDB database location to another folder

Tags: #<Tag:0x00007fc40c8c1900>


Anyone knows how to move MariaDB database files to another location (ex: Media smb folder)? I just want to save time in making snapshots by avoiding the database backup. I know that MariaDB into Home Assistant is running through a container and I don’t know how to create a symbolic link from a container to outside…

Thank you!

That makes two of us. Also looking for a post or guidance on how to get database into a new folder in config.

I just limited the database in order to be smaller :frowning:
There is something on youtube, about this subject, but it is too complicated…