1
Should i update my selfhosted database? MariaDB
(alien.top)
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
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.