What is the best way to sync images to my NAS?
-
I wasn't aware that either of these had a syncing feature. How well does immich work? I've been looking to switch to it from phptoprism for a while
I'm getting my first server up and running and always considered getting immich. But lately I'm leaning towards photoprism because of updates breaking immich sometimes apparently and photoprism being more mature(?).
Why do you want to switch? -
I'm kind of surprised I've struggled with this so long. Right now I've been using nextcloud camera upload, and mostly it works ok but shits the bed once in a while without me noticing and I need to spend time fixing it and it's never as simple as turning it off and on again.
I recently tried syncthing, and while it works, it frequently crashed and got stuck in a state where it says it's on and working by my destination folder is shown as disconnected, and the options to restart syncthing from the side menu are greyed out and the only way to make it work again is by force closing it and reopening it.
I'm running vanilla stock Google Android and truenas, does anyone have a better solution?
- USB cable from iPhone to PC.
- Sort by date in filemanager.
- Copy all images since last date backed up to my PC.
- Review and delete crappy images.
- Move to my NAS via filemanager.
- Create a textfile called t.ex. 07juli (so that next time I know to copy files after this date, since I like to keep most pics on my phone).
Do this once or twice a month
-
I'm kind of surprised I've struggled with this so long. Right now I've been using nextcloud camera upload, and mostly it works ok but shits the bed once in a while without me noticing and I need to spend time fixing it and it's never as simple as turning it off and on again.
I recently tried syncthing, and while it works, it frequently crashed and got stuck in a state where it says it's on and working by my destination folder is shown as disconnected, and the options to restart syncthing from the side menu are greyed out and the only way to make it work again is by force closing it and reopening it.
I'm running vanilla stock Google Android and truenas, does anyone have a better solution?
After managing pictures from my phones and DSLR I finally took the time to set up immich.
And it was definitely worth it. -
When SyncThing is correctly configured (battery optimizations , etc.), you won't have any issues. (I've been using SyncThing for many many years now.)
Any suggestions on how to optimize it?
Using it on my steamdeck and on-demand on my phone. -
I'm getting my first server up and running and always considered getting immich. But lately I'm leaning towards photoprism because of updates breaking immich sometimes apparently and photoprism being more mature(?).
Why do you want to switch?Didnt have any issue so far with immich.
A case of not reading the release notes? (no offense just asking)
And tbf, they say they arent fully done for now. Essentially a very public beta. -
Didnt have any issue so far with immich.
A case of not reading the release notes? (no offense just asking)
And tbf, they say they arent fully done for now. Essentially a very public beta.Good to know, thank you!
It wasn't very clear, but that was based on other people's comments; I haven't gotten to installing either of them. (I need to get on it lol).
But that makes sense. I saw people say just don't auto update, because it is early days like you said. -
Good to know, thank you!
It wasn't very clear, but that was based on other people's comments; I haven't gotten to installing either of them. (I need to get on it lol).
But that makes sense. I saw people say just don't auto update, because it is early days like you said.They explicitly mention in the deployment steps to pin the release number.
After that it's just a case of reading the patch notes and looking out for breaking changes.And obviously keeping backups
-
Any suggestions on how to optimize it?
Using it on my steamdeck and on-demand on my phone.wrote last edited by [email protected]Set up a "global" ignore file that gets synced between devices. Call it
.stignoreglobal
for example and and change the.stignore
file (which doesnt get synced) on every device to only include#include .stignoreglobal
. Now your ignore state gets synced between devices and you can make changes from anywhere.Mine looks like this:
// Incomplete Downloads *.part *.crdownload // OS-generated files desktop.ini Thumbs.db // Cache cache spotifycache // Unity analytics Unity // LineageOS updater org.lineageos.updater // No read access :( /Android/{data,obb}
You can learn how to write one yourself here: https://docs.syncthing.net/users/ignoring.html
Other stuff:
- On Android I use this: https://f-droid.org/packages/com.github.catfriend1.syncthingandroid/
- Some Info on how you can reduce battery usage: https://github.com/Catfriend1/syncthing-android/blob/main/wiki/Info-on-battery-optimization-and-settings-affecting-battery-usage.md
- Make sure SyncThing is excluded from your phone's battery optimizations (varies by vendor).
- To save on mobile bandwidth I have it set up to only sync on WiFi.
- You can set up a symmetric key (basically a password) and sync your stuff to a friends instance. Your friend will not be able to read the data without the key (make sure it's a long random string). This also helps if you're running a SyncThing instance on a VPS for example.
-
Set up a "global" ignore file that gets synced between devices. Call it
.stignoreglobal
for example and and change the.stignore
file (which doesnt get synced) on every device to only include#include .stignoreglobal
. Now your ignore state gets synced between devices and you can make changes from anywhere.Mine looks like this:
// Incomplete Downloads *.part *.crdownload // OS-generated files desktop.ini Thumbs.db // Cache cache spotifycache // Unity analytics Unity // LineageOS updater org.lineageos.updater // No read access :( /Android/{data,obb}
You can learn how to write one yourself here: https://docs.syncthing.net/users/ignoring.html
Other stuff:
- On Android I use this: https://f-droid.org/packages/com.github.catfriend1.syncthingandroid/
- Some Info on how you can reduce battery usage: https://github.com/Catfriend1/syncthing-android/blob/main/wiki/Info-on-battery-optimization-and-settings-affecting-battery-usage.md
- Make sure SyncThing is excluded from your phone's battery optimizations (varies by vendor).
- To save on mobile bandwidth I have it set up to only sync on WiFi.
- You can set up a symmetric key (basically a password) and sync your stuff to a friends instance. Your friend will not be able to read the data without the key (make sure it's a long random string). This also helps if you're running a SyncThing instance on a VPS for example.
Neat!
I am already using a selective sync for my emulator save data between my NAS, PC and steamdeck in a triangle sync and on top another sync for the data I generate on my phone.
-
I'm kind of surprised I've struggled with this so long. Right now I've been using nextcloud camera upload, and mostly it works ok but shits the bed once in a while without me noticing and I need to spend time fixing it and it's never as simple as turning it off and on again.
I recently tried syncthing, and while it works, it frequently crashed and got stuck in a state where it says it's on and working by my destination folder is shown as disconnected, and the options to restart syncthing from the side menu are greyed out and the only way to make it work again is by force closing it and reopening it.
I'm running vanilla stock Google Android and truenas, does anyone have a better solution?
wrote last edited by [email protected]I use Syncthing to sync DCIM and Pictures folders from Android to my computer. Every six month or so, I move pictures from these folder to the folder for this years pictures: home/pictures/2025. So they disappear from my phone as well, which is great to free up space. This works great for me.
-
I use Syncthing to sync DCIM and Pictures folders from Android to my computer. Every six month or so, I move pictures from these folder to the folder for this years pictures: home/pictures/2025. So they disappear from my phone as well, which is great to free up space. This works great for me.
I played more and got it working a bit better. Where it becomes a management nightmare is how it's designed. Too much of a hassle to sync between a server and DHCP clients over different vlans.
-
- USB cable from iPhone to PC.
- Sort by date in filemanager.
- Copy all images since last date backed up to my PC.
- Review and delete crappy images.
- Move to my NAS via filemanager.
- Create a textfile called t.ex. 07juli (so that next time I know to copy files after this date, since I like to keep most pics on my phone).
Do this once or twice a month
This works well, but not when you have 13k/150GB of photos lol
-
Sorry. Couldnt help you with that. I use nextcloud and syncthing myself.
Havent try immich but i heard immich was the next best thing, be aware though, last i heard even the dev said the app was in active development so things might break.
I think it's because I have 150GB of photos on 2 different phones and don't clean them out often.
-
I'm kind of surprised I've struggled with this so long. Right now I've been using nextcloud camera upload, and mostly it works ok but shits the bed once in a while without me noticing and I need to spend time fixing it and it's never as simple as turning it off and on again.
I recently tried syncthing, and while it works, it frequently crashed and got stuck in a state where it says it's on and working by my destination folder is shown as disconnected, and the options to restart syncthing from the side menu are greyed out and the only way to make it work again is by force closing it and reopening it.
I'm running vanilla stock Google Android and truenas, does anyone have a better solution?
Rsync, termux widget with a bash. Press button and it syncs my photos to my server filesystem
-
Check your Syncthing settings. It's a very reliable piece of software. Other than that Immich, but that's a slightly different use case.
I figured it out. It gets a little more complex when you're using a reverse proxy and inter-vlan routing lol.
Too much of a hassle for me, unless I dump the instance on my wifi network but if I set this up I'd like the option to use it for my other vlans too.
-
Rsync, termux widget with a bash. Press button and it syncs my photos to my server filesystem
Sounds like the easiest method lol. At least that way I could add in something to delete photos after copying them if they're X days old.
-
Sounds like the easiest method lol. At least that way I could add in something to delete photos after copying them if they're X days old.
Definitely easiest and most manual, but not "robust" I guess but its hard for it to fail you're more likely to have user error than system error