• 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
      ·
      4 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
      ·
      11 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
        ·
        15 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…