• Lem453@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    8 months ago

    Complete insanity.

    Then again it seems like people were using a docker volume to save all their precious photos rather than a mount point on the host. Also seems insane to me.

    • ArcticDagger@feddit.dk
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      8 months ago

      Could you explain a bit more about why it’s insane to have it as a docked volume instead of a mount point on the host? I’m not too well-versed with docker (or maybe hosting in general)

      Edit: typo

      • Lem453@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        A normal file system is something anything can access. You can open it in file browser. You can get to it via command line. You can ssh into from another computer and you can easily back it up with numerous tried and tested backup methods.

        Why lock yourself into only being able to access your data via docker?

        In a disaster scenario when you are trying to recover files, you will greatly appreciate being able to just see all the files super easily without anything fancy. It also means you can use any standard method to back up all those file.

        Recovery is also almost as easy, copy the files back to where they were and just run the docker container.

    • jvh@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      What’s the difference? The docker volume, on my setup anyway, is in /mnt/md0/docker-data/immich_upload/_data/

      It’s still a directory on the host either way? Although I guess if it’s a mount point it won’t get removed when removing volumes in docker.

      • Lem453@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        That last point is the important one. For important data, I want the setup to be as easily accessible and system agnostic as possible.