Backup SQL Database From Container
I self-host several services in Docker containers, and some of them rely on a MySQL server. One of these containers is Wiki.js, where the frontend runs in a separate container while the database is managed by the MySQL container. Wanting to back up the MySQL server, I initially committed the running Docker container under a different name, thinking this would create a backup that I could restore later. However, I quickly realized this wasn’t a proper backup solution. If I needed to download and run the backup elsewhere, I considered uploading the committed image to Docker Hub, but it wasn’t a practical approach. ...