Hi! im a bit confused because i have a MariaDB instance on my mini-pc so i can control things like NextCloud but some people told me i should not update my docker image of MariaDB because it can break? and other people said update it… Im unsure what to do… Some advices?
You could:
Backup your database. Run a second docker container with new version database. Restore/import backed up database from old version into the new version.
And then try out if all works without errors.
If errors, you can just revert back to your initial docker container with the old version.
I will give a shot! im watching some tutorials about how to do backups, thanks!
If you are using bind mounts with your container, there is a really easy way to backup before an update.
Then pull the latest database image and restart database container. If it works, yay, you’re done.
If it doesn’t work, reverse the steps:
Restart container and you’re back to exactly where you were before the upgrade.