Update or clean install?

  • 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?

    Intel G4400 - Asrock H170M Pro4S - 8GB ram - Be Quiet Pure Power 11 400 CM - Nanoxia Deep Silence 4 - 6TB Seagate Ironwolf - RAIDZ1 3x10TB WD - OMV 5 - Proxmox Kernel

  • 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.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • 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 docker


    Docker 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.

    Intel G4400 - Asrock H170M Pro4S - 8GB ram - Be Quiet Pure Power 11 400 CM - Nanoxia Deep Silence 4 - 6TB Seagate Ironwolf - RAIDZ1 3x10TB WD - OMV 5 - Proxmox Kernel

  • 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 :D 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 ;)

    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.


    https://www.reddit.com/r/OpenM…gf/moving_docker_storage/

  • 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!

    Intel G4400 - Asrock H170M Pro4S - 8GB ram - Be Quiet Pure Power 11 400 CM - Nanoxia Deep Silence 4 - 6TB Seagate Ironwolf - RAIDZ1 3x10TB WD - OMV 5 - Proxmox Kernel

  • 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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!