Photo backup on external hard drive


due to the upcomeing change of google photos to a pay service I am looking for an alternative. I have made some good experiences with syncthing for synchronizing documents for university so I thought maybe it is possible to use it for this purpose as well. I can imagine two possible ways to use it:

  1. Synchronize the photos folder of my smartphone with a folder on an external HDD on my laptop. Then thy syncing should only take place when the HDD is connected. I believe this works already even though I do not know how it will behave if I take a lot of pictures while the HDD is disconnected. However this has a major drawback: All photos have to be saved on my smartphone which is impossible. This brings me to the second variant:
  2. The HDD is connected to a raspberry pi which synchronizes photos from all my devices to it. However in order to see the photos on other devices as far as I know a new feature would be needed: The possibility to share a folder without downloading its content. It would need to work just like the dropbox app. Or better the ability to selectively download files (or folders) within a shared folder. Maybe this could work just like a network folder? Also I am wondering if it then possible to integrate the photos only accessable via network into popular gallery apps? I did notice that they get confused very quick, for example all the dates are messed up if you move photos from internal storage to SD card. Do you think this is doable?

SyncThing is a syncronization program, not a “copy stuff from one place to another” program.

With that said, let me tell you how I use SyncThing. Maybe you find it useful as well.

I have a server in the wardrobe running SyncThing. The DCIM folder on my phone is syncronized with a folder in the server. A script on the server copies new files in the DCIM folder to another folder, my main photo folder.

That way I can delete older stuff on my phone whenever I want to free up some space. And I can arrange photos in the main photo folder to my liking.


I’d say to use the RaspberryPi as a local nas device. For what it’s worth, I use a qnap nas for the purpose. This device is always on and has its syncthing setting roughly as follows:

  • only sync local devices so local-discovery is on. (no global discovery, no nat, no proxy, no relay)
  • Connect the devices and auto-discovery of the directories to sync.
  • Put the directories backup in ‘simple file versioning’

On the android devices:

  • Only sync on wifi
  • only sync on my local wifi
  • only sync while chariging (Most devices are charged over night)
  • all sync-directoris are ‘sent only’.

For my laptops: I can access the pictures at the nas using what I have configured there to get them: smb, nfs, webdav, etc.

In the future I might even add the laptop to the sync between the android devices and the qnap, just to have an additional copy of the pictures locally. This directory will be ‘receive only’ to avoid removing of pictures from the laptop to be removed from the mobile devices and/or nas too.