Hopefully I’m posting this in the right place. I’m planning on using immich for selfhosted photo storage. I’m a bit worried that I may lose all my photos if my drive fails, so I’m planning on running two hdd’s in raid 1 in addition to my nvme that I’m running my OS on.

I couldn’t find this when I googled it, but is it possible to point immich to store data on a separate internal drive other than the one that the OS is running on?

  • skatesOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Kinda unrelated, but if I restart my computer for whatever reason, will the containers and volumes be wiped out?

    • Dandroid@dandroid.app
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      The volumes will be fine. The way volumes work is the data is stored on the host in a directory, and then that directory gets mounted on the container. So as long as you don’t delete the volume’s folder on the host, you are totally fine.

      The containers won’t get wiped, but even if they did, it wouldn’t matter. They aren’t anything special. You could wipe them at will and pull them again and restart them. As long as your volumes didn’t get deleted, it will be like nothing even happened.