Self hosted solution for phone photo backup


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: meichthys.github.io/foss_photo…

This entry was edited (Friday, December 27, 2024, 2:30 AM)
in reply to Grandwolf319

I've been using folder sync pro for ages and ages
play.google.com/store/apps/det…

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.

in reply to oldfart

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.

in reply to InEnduringGrowStrong

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.

in reply to oldfart

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.

This entry was edited (Friday, December 27, 2024, 4:07 PM)
in reply to oldfart

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.

in reply to InEnduringGrowStrong

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.

This entry was edited (Friday, December 27, 2024, 6:29 PM)
in reply to oldfart

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 ...

in reply to Grandwolf319

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.

in reply to werefreeatlast

The android app developed by the syncthing dev is deprecated, the fork is still fine. While the fork's dev has no plans to publish to google play, there's presently no reason to think they will discontinue supporting the fork.