How to backup a MariaDB or MySQL database using MySQLDump

After my video last week on what I am self hosting:

I had a few people ask about my database backup script. I am going to do an upcoming video on it, but because I need to add the code somewhere, so I made a write up on! Write up here:

Let me know what you think & if this still needs a video!

Hi Will,

Presumably you use Mariaa.db as a general database for many applications.

Could you give:

  • a run down of how you do this

  • what applications you are targeting to the DB

  • how you configure the applications to use the DB

Using a single DB definitely interests me - just not sure how to do it.

Also - where do you host the DB? Synology?

Do you have any pointers to tutorials?