Hi,
tomorrow I plan to go from OMV4 to 5 since I'll change my storage too and so I should still have to change most of the settings.
My question is: is it worth to upgrade or should I go for a clean installation? If I backup the containers setting folders I shouldn't lose any setting for the containerthat I use right?

Update or clean install?
-
- OMV 5.x
- Blabla
-
-
Containers have moved to use Portainer. I am not sure if you can copy over or use the current settings.
BUT I have not tried this myself or know if there is actually any difference, just pointing it out. -
Backup the OS disk and try the upgrade. If it doesn't go well, go for the clean install. The docker plugin and portainer are just frontends for docker. They don't actually store information about the containers. Just make sure you change the path in omv-extras to the same path you are using for the docker plugin.
-
-
thanks for the help
I'll do a backup with clonezilla of course!
-
I've always clean installed and since I've migrated nearly everything I do to docker, it's pretty much brain dead simple. If you've set up docker properly ( containers, appdata and media on storage drives and not the OS drive) and assuming you aren't running a bunch of plugins.
Reinstall and Mount Storage Filesystem
Add any users you may need for your containers (I run all my containers as a regular user)
Install docker plugin
Set path to your containers folder in the docker plugin.
Restart dockerDocker and all your containers are now right back where you had them before you started. I didn't even bother imaging my OS disk.
Now just go back and add any plugins, shared folders, etc. that you need (for me that's only rsync)
-
Sadly only appdata is on a different partition
I'll go for a clean installation and I'll give OMV 20GB and 40 to Containers (basically the opposite of what I have now) .
Still, since I have a backup of all Appdata it should be easy to recreate everything. -
-
Sadly only appdata is on a different partition
I'll go for a clean installation and I'll give OMV 20GB and 40 to Containers (basically the opposite of what I have now) .
Still, since I have a backup of all Appdata it should be easy to recreate everything.You can still back up your containers folder and do what I'm saying.
If your containers are in the default location (/var/lib/docker) move that folder somewhere that won't be affected by the reinstall. Rename it "Containers" just for simplicity
Install OMV 5
When you install docker, set the path to the "Containers" folder from your old install.
I think it should import everything just fine.
-
Thanks! Didn't know this trick
I'll do that!
-
Thanks! Didn't know this trick
I'll do that!
Note I said, "I think"..lol. I've never done it either, but if you look under /var/lib/docker, that's where all your containers are.. it should work (the "docker" folder is the one you really want)
That said, I don't see any reason it wouldn't work.
-
-
I'll try, worst case scenario I'll make my containers again
-
I'll try, worst case scenario I'll make my containers again
so this question came up on Reddit, and I decided to see if it works. Absolutely does. I did a clean install in vbox, installed docker, then Portainer and airsonic and set them up. Container folder was on my os virtual drive. Then I wanted to move my containers to a virtual storage drive.
-
thanks! I can confirm that just the backup of the config folder is a blessing since I kept everything and I don't have to configuer everything again from the beginning!
-
-
thanks! I can confirm that just the backup of the config folder is a blessing since I kept everything and I don't have to configuer everything again from the beginning!
I wondered if just the config folder would work... My main thought though, was that when you deployed the container on the new install, it would overwrite the /config folder if you didn't completely set it up in Portainer or docker-compose. I'll have to test that theory if I end up with some beer virus days off.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!