If you need instant replication then Syncthing is probably your best bet but don't forget to disable the relaying function
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I second this, if you only need to sync files on different locations. Syncthing is awesome and very reliable. Using it every day for several years
I quote for Syncthing
Thanks, I'll look more into it.
Syncthing is great for mirroring files across any number of devices. I use it and love it. Just remember Syncthing itself, is not a backup solution.
I agree, syncthing is simply awesome. If I had to cut down all my selfhosted services but one, syncthing might take the number one spot.
If you are doing just local syncs the simplest solution might be rsync.
As for a solution with nice software clients, I use Seafile. Nextcloud is nice but it’s incredibly slow to sync files in my experience.
Another local option might be syncthing.
As for backup I use Rclone to do encrypted backups to GCPs Archive Srorage tier. The price is really good at $0.0012 USD / GB. 1TB of backups is like $1.25 USD per month. Be warned though retrieval costs are high.
Thanks for the recommendation. I'll look more into Seafile. It's much closer to what I want than Nextcloud since I don't need all the extra services, but the downside from what I've read is that it doesn't allow for file access from the host OS and that parts of the code is proprietary.
I was also choosing between seafile and nextcloud for a syncing and sharing solution. The no host access to files was a deal breaker for me. Having settled in with nextcloud for a year I would say it's still worth a test drive. The web ui is sluggish, but syncing seems fine. It definitely hits the ceiling for read/write speed in my environment, and the windows app picks up changes in the sync directory in seconds. I haven't methodically tested how long it takes for a change made on Android to propagate to the PC, but going on memory from real world use it would be a few minutes at most.
You could also consider a lesser known product, Duplicati. It creates encrypted 50MB chunks of data and maintains a database of what's in it. Have those chunks in Google Drive, and you have your encrypted backups in the cloud.
Duplicati looks very promising, but from a cursory glance it's more for backups? Since the files are split into chunks, I would still need to use a NAS or local cloud storage and have Duplicati do the final upload to GDrive.
Yes, it's only a TNO back up solution, not a full solution to your needs.
I've had a lot of good luck with Syncthing. If you're just syncing files locally you can disable nat traversal.
I ultimately did go with Syncthing and uploading my files encrypted to Google Drive for backup. It's been working great for months. I've also been using Zeroteir to make this work with my laptop too while on the go.
Try Resilio Sync. Running it for 5+ years now and did not have a single synchronization issue. Syncing around 5 devices flawlessly, instantly and error free (not sponsored)
Do you actually need sync? I just have a bunch of network shares. I can access them externally with WireGuard if need be.
I know folks like Nextcloud, but I never found it particularly reliable.