this post was submitted on 24 Feb 2025
151 points (99.3% liked)

Selfhosted

42938 readers
530 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi fellow self-hoster.

Almost one year ago i did experiment with Immich and found, at the time, that it was not up to pair to what i was expecting from it. Basically my use case was slightly different from the Immich user experience.

After all this time i decided to give it another go and i am amazed! It has grown a lot, it now has all the features i need and where lacking at the time.

So, in just a few hours i set it up and configured my external libraries, backup, storage template and OIDC authentication with authelia. All works.

Great kudos to the devs which are doing an amazing work.

I have documented all the steps of the process with the link on top of this post, hope it can be useful for someone.

you are viewing a single comment's thread
view the rest of the comments
[–] Ulrich@feddit.org 1 points 3 days ago (29 children)

Yeah I just didn't understand it.

[–] bdonvr@thelemmy.club 3 points 3 days ago (28 children)

If anyone's interested, here's my Immich backup script. You setup rclone to use an S3 storage service like BackBlaze which is quite cheap. I also use a crypt which means RClone will encrypt and decrypt all files to/from the server. S3 configuration and crypt setup.

Then set this up as a cron job. With the "BACKUP_DIR" option when you delete a photo it will get moved to the "deleted" folder. You can go into your S3 provider's lifecycle settings and have these get deleted after a number of days. I do 10 days. Or you can skip that and they'll be gone forever.

#!/bin/bash
SRC_PATH="/path/to/immich/library"
DEST_REMOTE="b2crypt:immich-photos/backup"
BACKUP_DIR="b2crypt:immich-photos/deleted"
RCLONE_OPTIONS="--copy-links --update --delete-during --backup-dir=$BACKUP_DIR --suffix `TZ='America/New_York' date +%Y-%m-%d`.bak --verbose"
rclone sync $SRC_PATH $DEST_REMOTE $RCLONE_OPTIONS

[–] Ulrich@feddit.org 0 points 3 days ago (27 children)

Yeah, I don't know what any of these words mean. I just want to click "export" and back all the data up to a flash drive. Is that too much to ask?

[–] Shimitar@downonthestreet.eu 2 points 2 days ago (1 children)

I think it is. It doesn't take much to understand which folders needs to be backed up. They are also pretty clear on the immich website on how to backup the database itself. No, just an "export" wouldn't be good enough since the files themselves do not include the metadata.

[–] Ulrich@feddit.org 1 points 2 days ago

I think it is.

Why is that?

They are also pretty clear on the immich website on how to backup the database itself

Yeah I'm pretty tired of hearing things are "pretty clear" or "not that complicated" and then being directed to an absolute word salad of technical terms no one without a computer science degree would understand.

No, just an "export" wouldn't be good enough since the files themselves do not include the metadata.

They could...add them?

load more comments (25 replies)
load more comments (25 replies)
load more comments (25 replies)