Live data from Hacker News

Syncthing: A continuous file synchronization program

syncthing.net

21–30 of 129 posts

Re: Syncthing: A continuous file synchronization program

#21
post #20

Best sync software in my view. The only downside is that there is no good iOS app. I think the developers made the right decision focusing the software on peer to peer sync (i.e., not expanding to nearby “cloud features”: backup, photos, videos, office, etc).

I couldn't agree more!

Syncthing is like the reliable, quiet roommate who always does their dishes, whereas dealing with different file systems feels like trying to figure out who left their half-eaten pizza on the couch.

Just needs the iOS app!

Re: Syncthing: A continuous file synchronization program

#22
post #20

Best sync software in my view. The only downside is that there is no good iOS app. I think the developers made the right decision focusing the software on peer to peer sync (i.e., not expanding to nearby “cloud features”: backup, photos, videos, office, etc).

What’s wrong with möbius sync?

Re: Syncthing: A continuous file synchronization program

#23

Can I use it to backup SQLite? Like an alternative to Litestream? Are there any negative implications for doing this?

Litestream author here. I haven't personally tried Syncthing on SQLite databases but I suspect it wouldn't work well. Syncthing doesn't have any concept of SQLite's locks so even in the best case scenario where you only have one writer and the replica is read-only, the reader on the replica would have pages changed out from under it by Syncthing and that would appear corrupt to the reader.

One case where you could make it work is if you sync'd across multiple computers but only used one at a time. I mean, it's still dangerous but it seems possible.

Re: Syncthing: A continuous file synchronization program

#24

While SyncThjng might be encrypted, it’s yet another port or server that’s open. We need ubiquitous private networks, such as wire guard, zerotier, or the buggy back-to-my-mac.

Private networks are old and busted; zero-trust & E2EE is the new hotness. (well, if 14 years is considered new)

The idea of a network as a delineation of security or trust is inherently flawed and should be considered an anti-pattern. Reliance on "private" networks merely moves attacks to the network level, making a very large target and exposing more at once. Zero trust is where the whole world should be moving: explicit authorization added at a fine-grained level to each thing each user wants to access. But people haven't been exposed to this idea yet in their day to day lives, so they can't let go of the old paradigms of firewalls and networks.

Re: Syncthing: A continuous file synchronization program

#25

Can I use it to backup SQLite? Like an alternative to Litestream? Are there any negative implications for doing this?

Litestream author here. I haven't personally tried Syncthing on SQLite databases but I suspect it wouldn't work well. Syncthing doesn't have any concept of SQLite's locks so even in the best case scenario where you only have one writer and the replica is read-only, the reader on the replica would have pages changed out from under it by Syncthing and that would appear corrupt to the reader. One case where you could ma…

What if I do sqlite backup with cron and then sync the backup?

Re: Syncthing: A continuous file synchronization program

#26
post #6

Syncthing is excellent. I’ve used it for years to keep my development folders synced between mac, linux and windows, and except for some initial figuring out of ignore patterns and the occasional hiccup with filenames that windows can’t handle it has been great at doing what it needs to and getting out of my way. (I of course also use git, but syncthing lets me choose when I push while still having all my work on all…

i always heard it fucks up with git repos?

Yeah, you need to add .git to the ignores. Works very well when you have only one repo checked out, for instance to auto-sync a deployment while you type, without having to commit and do CI/CD. With more than one repo you should be sure they are all on the same branch/commit before you sync. If not, you typically get a mess that requires some git-foo to clean up!

Re: Syncthing: A continuous file synchronization program

#28
post #21
post #20

Best sync software in my view. The only downside is that there is no good iOS app. I think the developers made the right decision focusing the software on peer to peer sync (i.e., not expanding to nearby “cloud features”: backup, photos, videos, office, etc).

I couldn't agree more! Syncthing is like the reliable, quiet roommate who always does their dishes, whereas dealing with different file systems feels like trying to figure out who left their half-eaten pizza on the couch. Just needs the iOS app!

There's Möbius Sync, but iOS restrictions means that it can't work in the background or access folders like it does on Android/Windows/macOS/Linux.

Re: Syncthing: A continuous file synchronization program

#29
Using resilio (which is NOT open source, of course and is actually kinda abandoned) until they implement selective sync (also "cloud" files browser). This is THE feature that is the deal breaker for me to switch. No, I don't sync hundreds of gigabytes from my personal cloud to my fokken phone, or even laptop, or even work PC. Still want access to all of them on demand.

Re: Syncthing: A continuous file synchronization program

#30
post #4

While SyncThjng might be encrypted, it’s yet another port or server that’s open. We need ubiquitous private networks, such as wire guard, zerotier, or the buggy back-to-my-mac.

I keep wanting Tailscale to offer a "tailnet API" whereby you can bundle a tailnet into your app, and users can connect to other instances of the app (whether their same account or other people sharing parts of their app/data) seamlessly: E2E encrypted, NAT busting, it just works. Think about it: mobile and desktop apps no longer have to upload things to some third-party service to share with yourself or a group of p…

Isn't this litailscale?
Post reply on HN