Today I am going to show you how to upgrade to MariaDB 10.6 on Ubuntu 20.04 and backup-restore the databases in the process.
Every database running a site should have backup system. We will explore how to backup and restore MariaDB/MySQL databases in this article.
We will fix/restore a MySQL/MariaDB corrupt database. Before going to the details, we will make sure to take backup of the data files.