• 1984@lemmy.today
    link
    fedilink
    English
    arrow-up
    59
    arrow-down
    1
    ·
    1 day ago

    This thing changes versions faster than I can update my homelab… Lol.

      • JC1@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        Why this complicated setup? Komodo handles auto update by itself. It also update the whole stack at once, so no shutdown of the BD while the app stays up. Just have 2 checkboxes to tick.

        The less stuff the better, it’s essential in case you have a failure. I only have to redeploy komodo, then all my stacks will be ready to get back online. I even removed watchtower.

      • nfreak@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        21 hours ago

        I’ve been running this setup for a few months now and haven’t looked back. Works super well, and essentially acts as an approval process for letting a container update or not.

        The author also recently added a followup article to this one for using Forgejo instead, made migrating the setup super easy.

      • JASN_DE@feddit.org
        link
        fedilink
        English
        arrow-up
        21
        arrow-down
        5
        ·
        1 day ago

        Which isn’t a great idea with all the breaking changes. I’d assume it gets better after v2, but still.

        • Fmstrat@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          16 hours ago

          The 2.0 release resolves a large amount of technical debt and shifts the focus toward compatibility and easier upgrades.

        • GraveyardOrbit@lemmy.zip
          link
          fedilink
          English
          arrow-up
          16
          arrow-down
          1
          ·
          1 day ago

          Your comment is spreading false information. With the stable release the Immich team has committed to no breaking changes except for major version upgrades, so if you pin to 2.x.x you will be perfectly fine

          • skilltheamps@feddit.org
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 day ago

            That’s what I thought, but last time I looked I only saw a “release” tag, no “v2” tag. Did I miss something?

        • LastYearsIrritant@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          17
          ·
          1 day ago

          I automate my upgrades, but I also automate my backups, and monitoring.

          If an upgrade breaks something, my health monitor lets me know and I can roll back to the previous day.

            • LastYearsIrritant@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              2
              ·
              17 hours ago

              I use rsync to backup, I can delete and restore the whole drive if i want at any time.

              I use watchtower to keep things updated. If you schedule the rsync and watchtower correctly, you can get the backup done before the upgrade and there’s basically no lost data with the rollback.

              I use uptime Kuma for monitoring, and it shoots me an email with details on what failed.

              • meathappening@lemmy.ml
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 hours ago

                OpenMediaVault does this as well if you use the built in Docker system. I have it set to back up containers every Sunday at 1 am, at which time it pulls any new images. You can set the number of backups to retain and roll back if there are any issues.

        • saddlebag@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          18
          ·
          1 day ago

          I’ve been doing this in my kubernetes cluster since immich was less than v1.49.0 (that’s the earliest I can find but it’s been over 4 years).

          Your comment could have been more constructive: something like “this is really cool, just be sure you don’t auto merge PRs without reading the patch notes. Learn about the process before you roll this out to your mission critical systems!”

          This is a learning opportunity (possibly even for you). Show others how to do things well and the whole community can benefit.

      • cRazi_man@europe.pub
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        This looks a lot more complicated that Watchtower. Is this something different or add other functionality?

        • saddlebag@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 hours ago

          I’m not familiar with Watchtower, I assume it will restart the container/stack if a new image is found. The biggest difference is that an edit to the git repo causing the container to be redeployed. This means the git repo becomes the source of truth and its possible to redeploy even when config changes get merged.

    • Ugurcan@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Can you please let us know how the transition went after a few weeks? I’m also considering the same but I’m also content with Apple Photos features like live photos etc.

      • thedbp@feddit.dk
        link
        fedilink
        English
        arrow-up
        12
        ·
        1 day ago

        I transitioned from Google photos to immich about a year ago:

        1. face recognition is absurdly much better

        2. searching for images is some black magic stuff

        3. it’s generally faster

        4. it’s map is really slow

      • maxprime@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        ·
        23 hours ago

        Live Photos works in Immich.

        One thing I really like about Apple photos is the memories that it suggests.

  • mctoasterson@reddthat.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    Those who run immich, how have you been backing up your library?

    My deployment isn’t anything fancy, it is currently a Raspberry Pi 4 with a 2TB external drive for the photo library. Been running for more than 6 months with minimal issues. Now that we are at a stable release I need to get some kinda backup going for the photos themselves.

    • JC1@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      Immich photos are one of the main thing I backup. I use duplicacy and I backup to backblaze B2 storage. It does incremental backups. Same thing with docker persistent data or other things I consider important.

    • Appoxo@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      I backup the underlying storage (which is a VM) that immich writes to.
      In theory it should be a perfect copy that just crashed.

    • skilltheamps@feddit.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      The same way as all other services: all relevant data (compose.yml and all volume mounts) are in a btrfs subvolume. Every night a snapshot gets made and mirrored to a remote server by btrbk.

      • ngdev@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        how much do you pay for the remote server? was thinking about doing something like this for nextcloud (and i might end up using immich in the future)

        • skilltheamps@feddit.org
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          That server is also a homeserver I manage for family (in another city). The two homeservers then mutually back up each other.

    • nfreak@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 hours ago

      Nothing fancy. I use Backrest for all my backups, and a few of my plans just include the Immich directory. My NAS is an entirely separate machine so my local backups go there, while everything is simultaneously pushed to a backblaze bucket

    • Bakkoda@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      I run Immich in a VM on Proxmox which gets backed up every 12 hours and all my photos are on the NAS which gets snapshotted every 12 hours and pushed to an external drive and a Hetzner box.

      • riquisimo@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        16 hours ago

        Translation: “I run immich in a virtual machine, which I can manage from a web browser. The photos themselves are stored on a different device which gets backed up to a remote location twice a day.”

        So why run immich in a virtual machine instead of in, say, a docker? Wouldn’t that be way less overhead? (Or is immich the only thing you’re hosting?)

    • SayCyberOnceMore@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      I run it baremetal, the photos / videos are all on a separate location (so are “Externsl Libraries” in Immich) and are backed up…

      As far as the Immich application itself, I’m not currently backing up anything as I’ve been trialing it… but, I’ll aim to backup any configurations, but I’m thinking to maybe ignore any database - it can just relearn everything if I need to do a restore… depends how big that DB is…

  • reddit_sux@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    Has anyone be able to get memories to work. I don’t get any notifications. I probably don’t understand how that works. Any pointers except the official documentation will be helpful.

    • Esc@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      Notifications? It doesn’t give you notifications. It just shows it at the top in the main interface (if there are any).

    • skilltheamps@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      They show images from the same day in past years. So if your library has no images >= 1 year old I’m not sure if anything shows up.

    • AtariDump@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      1 day ago

      I hated them too at first, but that’s because I didn’t understand them and they were new and scary.

      They’re still a little scary but, after having a dependency issue on another Linux box, I get the purpose of docker a little bit better now.

      Here’s a helpful primer: