Backing up photos and videos from an Android phone?
There are solutions like ente and immich but I think they both are pretty overkill for my use case. I almost never look through my old photos so I don't need an app and a web UI or whatever. The face detection thing does not entice me either. I don't need encryption either.
Is there a simpler solution for this? I am thinking of just writing a script that syncs the camera folder using adb or something like that. But before I create a jank monstrosity I thought it would be better to ask around.
Just configure it to only run while plugged to the wall, so you're not surprised by the rare bug of it randomly turning your phone into a pocket warmer.
Setup a remote, setup tasks, and setup triggers. Mine syncs every night. It supports encrypting with your own keys. Large number of remotes supported from self-hosted to cloud.
WOW man this is just incredible. I had actually finished setting up syncthing and syncing with it but this is just so much smoother. Syncthing is nice but it has some weirdness. Like this app's "copy local to remote" (instead of sync) is hidden in advanced configuration while it seems like a useful use case to be.
I went the jank monstrosity path. Well, a few scripts anyway.
I use an app called SimpleSSHD on the phone that lets me ssh in. Then rsync to transfer files. The script to sync pictures is like this:
# file 'droidip' contains the local wifi ip of the phone.
dip=$(cat droidip)
rsync --append-verify --progress -avz -e "ssh -p 2222" root@$dip:/sdcard/DCIM/Camera newphonepix
Truthfully it was as much about learning rsync as anything, and now I'm sticking with it because momentum I guess. adb is way faster if you really need to move a lot of files.
This. I don't even need real "scripts", I just plug my big drive into my laptop, start dropbear and use the shell (fish) history to get the right command. Takes about 15s to do everything :p
If you want a more continuous thing, you can look into Syncthing or something like that.
If you have a network share available on your LAN, you might want to try the FolderSync App. It can make your phone sync its photos every time you're in your WiFi and plugged into the charger.
Alternatively, if you have NextCloud, the NextCloud App can do that for you.
"Immich" might be a real option, I don't quite understand why you think it's overkill?
I mean syncthing has been mentioned plenty, but of course Nextcloud also solves the problem. It's can't truly sync a folder, but it works fine for backing up photos and videos.
Well there more than one solution, if you want it. First of all, podman actually works fine with docker compose files. There may be some adjustments needed in other places, because despite the claim of being "a drop in docker replacement", it just isn't (quite). So assuming you install docker compose (not docker), you can just "docker-compose up" (note the dash) and it should work. Should.
Your can also just spin up a VM and install docker with compose in there, just for testing and/or running immich.
Foldersync pro has worked flawlessly for me for over a decade. At first I just used samba on my LAN and it would sync at night but then I spun up new and more services and it supports most all of them. I highly recommend.