How to back up MariaDB databases running in a container

Backups are sometimes not quite present in our everyday life, but if we suddenly face a problem there is nothing but a backup that can save us. In the past, I have mounted the data from MariaDB (or MySQL) containers using Docker on a specific Docker volume and backed it up daily. Depending on the database engine, this data may or may not be consistent. For an installation that has a very large database workload, such backups are almost never consistent and are therefore not an optimal solution....

2022-12-23 · 3 min · 487 words · ae3