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

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

    • Offizieller Beitrag

    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 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • thanks for the help :) I'll do a backup with clonezilla of course!

    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

    • Offizieller Beitrag

    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

    • Offizieller Beitrag

    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!

    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

    • Offizieller Beitrag

    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 ;)

    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

    • Offizieller Beitrag

    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

    • Offizieller Beitrag

    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!