You are reading a single comment by @hippy and its replies. Click here to read the full conversation.
  • SyncThing works through VPNs and so forth, so long as there's a working internet connection it will resolve the distributed hash table and find the other nodes.

    Photos and stuff... I use lots of different folders, you are not restricted to a single folder like you are with Dropbox, so I have roughly this:

    • "Pixel 8" (contains photos taken on my phone) goes to my phone, work laptop, desktop, NAS, Backup
    • "Files" (contains all files relating to home, i.e. bank statements and bills, etc) goes to my desktop, NAS, Backup
    • "Work" (contains a scratch pad of work files) goes to my laptop and desktop
    • "Music" (a lot of FLAC files) goes to my NAS, Backup
    • "Films" (a lot of files) goes to my NAS, Backup

    All those folders live in my user directory on each system, the systems include Android, Linux, Windows, though it also works on Mac, but not sure that it works on iOS.

    In essence, different folders for different purposes, and send them to different places. I only have files sync'd depending on whether I need them on those devices, i.e. the Work stuff doesn't even go to my NAS or Backup, just the machines I may do work on.

    I think my laptop is only 1TB, my desktop is 4TB, the NAS is ~90TB usable, the phone is the weakest of them at only 256GB, but that's OK as I don't sync much to it.

    BTW, syncthing can be configured read-only, i.e. all devices get the things from the phone, but if you put things in the folder and the phone was read-only it wouldn't receive files back.

    And Syncthing also can be configured with or without file versioning, i.e. a trash can of it's own, or some method to capture all versions of a file as they change.

    Or you can just ignore those things and treat it as a dumb folder that synchronises

  • Ok, that sounds more useful. A one-way sync from phone to PC/laptop I could tolerate I guess. The problem is my photo library is bigger than the storage on my laptop so I'd need to replace the drive on that before I bothered otherwise I'll end up with a mess of half synced stuff.

    Could it sync to an S3 bucket or something? That would be useful for automated live backup. I do regular backups to Glacier but they're like "end of days" backups and I would hate to restore from it.

    Basically, I want a NAS, but in the cloud, so it doesn't sit in my lounge, waiting to die.

  • Could it sync to an S3 bucket or something?

    Syncthing itself only syncs to a local file system.

    What is local is up for discussion though, if you are willing to run a small compute process in Google Cloud and then use gcsfuse, this will present Google Cloud Storage as if it were a local file system to your syncthing process, and then, yes... it would be storing into object storage. However Syncthing relies on inotify from the file system to perform resyncs, and something like a fuse system will not support this, so you'd need to configure a rescan interval.

    A NAS is going to prove long-term cheaper, but if all you want is a constantly in-sync backup you control, I'd not try and use object storage for this, but instead would look at Hetzner and their servers... +6TB is from €40 per month. I would just put Debian on that, install Syncthing, and let it store things locally... it will be long-term cheaper than running compute + object storage elsewhere.

    If I tried to build my NAS in Hetzner it would cost around €200 per month, and frankly that means in 18 months it will have cost the same as building it at home, except the home system will be good for +5 years.

    Syncthing is incredible, but Cloud pricing of compute + storage is not cheap.

About

Avatar for hippy @hippy started