this post was submitted on 27 Dec 2024
94 points (97.0% liked)

Selfhosted

40746 readers
662 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,

I’m trying to find a way to have my iPhone’s photos be automatically (or even manually) backed up/synced with my home server.

I heard about photo prism here and got it up and running, however I could not find a free app that lets you sync. Photo sync is their main recommendation and it puts high quality photo backup behind premium.

Is there any solution that lets you backup your photos through home wifi?

Thanks in advance.

Edit: thanks to the suggestions, I found this handy chart listing many and comparing them: https://meichthys.github.io/foss_photo_libraries/

top 50 comments
sorted by: hot top controversial new old
[–] surph_ninja@lemmy.world 7 points 11 hours ago

Nextcloud. Works super well.

[–] HeavyRaptor@lemmy.zip 23 points 16 hours ago (1 children)

Like everyone is saying, Immich.

But keep an eye on updates because it is under active development so breaking changes tend to happen every once in a while.

[–] tabular@lemmy.world 1 points 7 hours ago (3 children)

Does Immich auto update / breaking changes?

[–] HeavyRaptor@lemmy.zip 1 points 20 minutes ago

The server doesn't, except if you have watchtower or something similar.

The app auto updates on your phone though, unless turned off.

[–] MangoPenguin@lemmy.blahaj.zone 1 points 3 hours ago (1 children)

Does Immich auto update

Only if you auto-update the docker images on your server.

There have been a few breaking chances, but it just takes a minute to tweak the compose file and it's up and running again.

[–] tabular@lemmy.world 1 points 2 hours ago

Apparently docker images must be manually updated, so currently I don't. Thanks for the info.

[–] Crassus@feddit.nl 5 points 6 hours ago

On itself it doesn't auto update, you do get a notification in the app if your server is outdated.

You can setup watchtower or something similar to update it but it is discouraged due to the active development

[–] Rookeh@startrek.website 13 points 16 hours ago (1 children)

Immich has completely replaced Google Photos for me, love it!

My only bugbear is that it is updated very frequently (what a nice problem to have!) which in my case requires a manual once-over of my docker-compose file every time in case there are breaking changes.

[–] MangoPenguin@lemmy.blahaj.zone 1 points 3 hours ago (1 children)

I go the other way, auto-update and fix the file if it goes down lol

[–] Rookeh@startrek.website 2 points 2 hours ago (1 children)

As a developer myself I'm not sure if I would trust any application to safely handle a configuration that has become invalid due to a breaking change, especially not an app that is still under active development! Better safe than sorry.

[–] MangoPenguin@lemmy.blahaj.zone 1 points 20 minutes ago

It's docker compose changes (at least the ones in the last 2 years have been), so it's not really config related with a worry about breaking stuff from that.

But also multiple backups are in place anyways, so worst case I restore from that.

[–] thejevans@lemmy.ml 85 points 22 hours ago (4 children)
[–] pedroapero@lemmy.ml 1 points 8 hours ago

Sounds overkill just for backing up files.

[–] Grandwolf319@sh.itjust.works 7 points 13 hours ago

This is amazing, exactly what I was looking for!

[–] gedaliyah@lemmy.world 17 points 21 hours ago

Absolutely phenomenal. Great app, hosting, and development community.

It's a good reason to start self hosting.

[–] muntedcrocodile@lemm.ee 6 points 18 hours ago

This. Its excellent. Cross platform. AI search. Location tagging. Everythibg u want.

[–] walden@sub.wetshaving.social 42 points 21 hours ago

Immich. Come for the photo backup, stay for everything else because it's awesome.

[–] hperrin@lemmy.ca 15 points 18 hours ago

I use Immich, and I love it.

[–] DaGeek247@fedia.io 16 points 20 hours ago (1 children)

I use syncthing to keep all my documents and pictures synced between my devices.

[–] fine_sandy_bottom@lemmy.federate.cc 2 points 18 hours ago (3 children)

Yeah this.

I don't keep all my photos in sync though. Only the last few months.

I'm using photoprism to browse photos on my server but I've been meaning to look at other options because it's not that great IMO.

[–] surewhynotlem@lemmy.world 3 points 12 hours ago

I swapped out photoprism for immich and I'm much happier.

load more comments (2 replies)
[–] bitwolf@sh.itjust.works 9 points 19 hours ago (5 children)

I think right now it is a throwdown between:

  • Nextcloud Photos
  • Immich
  • Ente Photos
load more comments (5 replies)
[–] BakedCatboy@lemmy.ml 19 points 22 hours ago

Immich has a setting that does automatic photo backup over WiFi, I use the android app as a Google photos replacement. You can choose however many folders on your phone as you want (I just do camera roll) and enable only backup over WiFi and it backs up all the photos in original quality. I self-host the server on my Synology with a reverse proxy (can't forward ports at my current place due to cgnat) so I can access it from anywhere.

I believe the app is cross platform so the iPhone version should be identical to the android one.

[–] InEnduringGrowStrong@sh.itjust.works 16 points 22 hours ago (3 children)

Nextcloud's instant upload feature?
Whenever I take a picture or screenshot it's uploaded there.

Nextcloud might be overkill if that's the only feature you need. I've never used the more involved stuff like chat or document editing, just sync.

[–] Creat@discuss.tchncs.de 3 points 15 hours ago

That feature kinda works, but it's incredibly fragile. It has caused so many annoyances for me over the last year or so that I'm finally done with the thing. Just go with immich instead, less headache.

[–] oldfart@lemm.ee 3 points 17 hours ago (1 children)

Nextcloud has so many bugs when you store a lot of files, and photos on a phone accumulate to a big number. Both their Android app and server doesn't deal with a few years' worth of photos.

[–] ilmagico@lemmy.world 1 points 12 hours ago (1 children)

I have years worth of photos backed up from my phone (android) on Nextcloud, it's working pretty well... but it matters how you set up the auto upload and a few other things, and I'mnot claiming it's without issues.

For example, I set it to move files into Nextcloud's folder after uploading, so they appear as locally synced, and can be deleted to free up space if needed (maybe even automatically, not sure). Also, I set it to also upload existing files, because since they get moved, anything that's still there clearly needs to be uploaded.

There are a few issues viewing media from the app, sometimes, but I use the Memories app :)

I've been meaning to try immich, looks pretty good, but I use Nextcloud for much more than just photos, so I'd have to keep both and have them sync somehow, and I'm not sure how to do that.

[–] InEnduringGrowStrong@sh.itjust.works 1 points 11 hours ago* (last edited 11 hours ago) (1 children)

Yea only times I've had issues is if I run out of space allocated to the container that runs it.
I currently have 16GB of phone uploads and 540G overall, it works fine

[–] oldfart@lemm.ee 2 points 9 hours ago (3 children)

And you don't have your notification bar on the phone full of upload errors? Nextcloud doesn't open 15 seconds on the computer? Can you get to older photos in under an hour, while Nextcloud slowly loads one thumbnail per second?

It is really unbeleviable how there are some people for whom Nextcloud just works, and the rest of us.

I gave up on my personal self-hosted instance a long ago, and at work we use commercially hosted Nextcloud and have to get a new account ~yearly because it slows down like Windows 95 when data accumulates.

[–] ilmagico@lemmy.world 1 points 2 hours ago

And you don't have your notification bar on the phone full of upload errors?

I get a bunch of upload errors for photos that I delete or move before nextcloud has a chance to upload them, those are safe to ignore. Not sure which errors you're getting...

Can you get to older photos in under an hour, while Nextcloud slowly loads one thumbnail per second?

Forget about the plain nextcloud photos app, use the Memories app (incl. the android app).

Not as good as immich, from what I understand, but if you already have nextcloud, or need more than just photos, it works well.

It is really unbeleviable how there are some people for whom Nextcloud just works, and the rest of us.

It's definitely not perfect, but since I was able to set it up to work well for me, I'm keeping it, at least until I have time to install immich and figure out how to sync the two (and maybe get a more powerful server to use its ML features). I'm currently running it off of a decade old chromebox ...

[–] oldfart@lemm.ee 2 points 9 hours ago

And, to offer something positive too: I like Photoprism, it's very fast, browsing old photos just works with no extra delay, there's search by date, location, tags, even face detection.

[–] InEnduringGrowStrong@sh.itjust.works 1 points 8 hours ago* (last edited 8 hours ago) (1 children)

Legit have had none of these issues.
I do get a notification once in a while if I modify a picture fast enough, like a quick crop and it's still uploading. Like snap pic and edit within the same 5 seconds or so.
Basically just a: "there are multiple versions of the same file (which is true), which one do you wanna keep".

Then again mine is running on a pretty beefy server which might hide issues rooted in performance.
I remember it being hell when I was running it on a RPi.

[–] oldfart@lemm.ee 2 points 7 hours ago (1 children)

I had it on a beefy server too. Glad that it works for you, every nextcloud thread on social media has a discussion like ours.

[–] InEnduringGrowStrong@sh.itjust.works 1 points 7 hours ago (1 children)

Yea, it's not the first time I've seen this discussion either.
I don't wanna seem like I'm not believing you or belittling your experience, I just find it weird that we (we, users, as a whole, not just you and I) have such wildly different experiences with it.

As is, I have a vastly better experience with my own nextcloud than with corporate's onedrive, with more stuff on mine.

Wish I knew why it's so inconsistent.
Even though my nextcloud experience is fine, I know plenty of people with the opposite.

[–] oldfart@lemm.ee 2 points 6 hours ago* (last edited 6 hours ago)

I wish that too. I've profiled the server code and there was no simple to identify bottleneck. I profiled the android app when it was displaying Force Close / Wait modal every few minutes when in background, and found a very troublesome database query which selected all files without pagination. Adding pagination fixed that force close problem but the app was still too slow to be usable.

And at the time when I was doing all this, of course there were reports of people who had more data than i did and it was working fine for them.

[–] poVoq@slrpnk.net 6 points 22 hours ago

You can use the Nextcloud app with the much simpler KaraDAV backend. Works fine for photo backups.

[–] 7U5K3N@lemmy.dbzer0.com 8 points 22 hours ago (2 children)

I've been using folder sync pro for ages and ages https://play.google.com/store/apps/details?id=dk.tacit.android.foldersync.full

It basically syncs a folder from your phone to a folder on your home servers share.

I think it was paid.... But it's been years so I couldn't tell you.

load more comments (2 replies)
[–] mbirth@lemmy.ml 2 points 18 hours ago

I have all my photos synced to iCloud and have Apple Photos running on my Mac with the option to “always download originals” enabled. Then, I run a daily backup of my Mac’s photo library to my NAS. For this, I’m using CCC at the moment but I’m planning to switch to restic.

load more comments
view more: next ›