this post was submitted on 12 Jul 2023
10 points (85.7% liked)

Selfhosted

60451 readers
753 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] ShouldIHaveFun@lemmy.pec0ra.ch 6 points 3 years ago (3 children)

If you run immich with docker, you can choose any drive/folder for your photos by mounting it at the right location inside the docker container.

However, I would strongly suggest that you also use some other kind of backup beside rest. I personally like restic combined with Backblaze B2, but there are many other good solutions for this.

[–] somedaysoon@lemmy.world 1 points 3 years ago* (last edited 3 years ago) (1 children)

I agree, OP please do proper backups, because RAID is not a backup.

Borg is another great option for doing backups.

[–] skates@sh.itjust.works 2 points 3 years ago

Yeah the only thing I'll need to backup will just be the photos. This machine is just gonna run Ubuntu server so I can try out a bunch of other self hostable services for fun. I'll take a look into Borg though! Always appreciate any suggestions.

[–] skates@sh.itjust.works 1 points 3 years ago (1 children)

I just googled restic, so does it just create a single encrypted backup file you can upload to backblaze b2 cloud storage? I will definitely look into that.

For now, immich is just another safety net. I've got my photos backed up to iCloud photos as well as Google Photos. It's not a price or privacy thing so much as a just in case Google or Apple decides to shut down my account for whatever reason.

I may skip running two hdd's in raid 1 though if restic and b2 can restore all my files if the drive fails. Have you done this before? Is it difficult to restore to a backup?

[–] ShortN0te@lemmy.ml 1 points 3 years ago

Restic does nit create a single backup file. You can either pack the repository in an archive or use restic do directly backup to b2. If i recall correctly b2 is supported by restic directly.

And just to stress that point: backup > redundancy

[–] somedaysoon@lemmy.world 0 points 3 years ago* (last edited 3 years ago)

I agree, OP please do proper backups, because RAID is not a backup.

Borg is another great option for doing backups.