I have 2 servers both running a Debian VM each. The old VM was one of the first o installed several years ago when I knew lityle and its messed up and has little space left. It running on Truenas Scale and has a couple of docker apps that I’m very dependent on (Firefly, Hammond). I want to move the datasets for these docker apps to a newer VM running on Proxmox server. It a Debian 13 VM with loads of space. What are my options for moving the data given neither Firefly nor Hammond have the appropriate export / import functions? I could migrate the old VM that that wouldn’t resolve my space issue. Plus it Debian 10 and it would take a lot to being it up to Trixie.

  • trilobite@lemmy.mlOP
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    The first rule of containers is that you do not store any data in containers.

    Do you mean they should be bind mounts? From here, a bind mount should look like this:

    version: ‘3.8’

    services: my_container: image: my_image:latest volumes: - /path/on/host:/path/in/container

    So referring to my Firefly compose above, then I shoudl simply be able to copy over the /var/www/html/storage/upload for the main app data and the database stored in here /var/lib/mysql can just be copied over? but then why does my local folder not have any strorage/upload folders?

    user@vm101:/var/www/html$ ls index.html