Changing location of folders Compose Files/Data/Backup

  • When changing the location of folders (Compose Files/Data/Backup) under Compose/Files from let's say

    /srv/dev123

    to

    /srv/dev456

    is it necessary to reinstall docker or is just a restart enough?


    How does a change like this affect my already existing containers?

    Shall I stop the containers and do I need to recreate them? Is there anything else to observe?

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

    • Official Post

    If you change the Compose files shared folder, the plugin will recreate them in the new location


    If you change the data shared folder, you will have to move the data to the new location


    If you change the backup shared folder, you will have to move or delete the old backups.


    If you change the Docker data storage path, you will have to move the files while docker is stopped.


    If you follow all of those suggestions, your containers will never know anything is moved but it isn't easy depending on your container setup.

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.6 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.5 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.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!

  • Clear explanations - thank you for this!


    How do I "tell" Docker to apply changed settings? Just hit SAVE? Or RESTART or even REINSTALL it?

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • After having a mess in Docker- and Compose Files due improper settings (lack of knowledge when configuring composer), it was helpful to have the information above and also the content of this post:



    So I'd like to thank you all for contributing.

  • macom

    Added the Label resolved
  • Now what I finally did:


    1. Created a new shared folder "Backup Docker"
    2. Stopped all running containers
    3. Changed the path in Compose/Settings/Backup to new folder from 1.
    4. Restarted Docker and all containers
    5. Deleted old Backup folder using ssh

    So now everything is as I wanted :thumbup:

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

Participate now!

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