this post was submitted on 07 Dec 2023
52 points (96.4% liked)

Selfhosted

40006 readers
538 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'd like to sync my markdown notes between devices (laptop and phone), which service is better: Nextcloud or Syncthing? Any other important idea I should know?, like latency times, or maximum number of synced devices, what if I edit the same note from both places without internet and then both get connected to a network... For example, I know Nextcloud let me have a history of the notes.

you are viewing a single comment's thread
view the rest of the comments
[–] shadejinx@infosec.pub 24 points 11 months ago (5 children)

Syncthing is fantastic... once you get it set up.

First, the rough stuff. Syncthing is not user friendly to set up and use. If you want to sync something, you have to go to every device you want to share with and enable the share... for every folder. You can get through this by doing the Dropbox method of just sharing a single folder, but that will have it's own challenges if you want to only share certain files with certain devices or apply different versioning methodologies. All in all, it can get cumbersome.

Secondly, it's a dumb sync tool, meaning that it's not content aware. In your "editing the same note" example, Syncthing will fail. You'll get a conflict notification and be prompted to to pick which version is correct... and even that will be buried in Syncthing's interface that you'll have to go looking for. That specific scenario isn't what it was designed for.

Lastly, Syncthing will occasionally get hung up on syncing a file and clearing the error isn't straight forward.

Alright now for the good stuff. Once you get through all the above stuff, it just works. I throw it on every computer, phone and tablet I own, and I get (mostly) worry-free backups of all my important files synced to my NAS. And it has saved me MANY times.

There are multiple versioning methods, so you can be sure that if you accidentally delete something, it'll be there for you. You can set it to encrypt files on specific destinations, so if you wanted to sync to a VPC, you can ensure your folders are protected from prying eyes. You can exclude files, so those annoying .DS_Store files that macOS throws around don't end up on your other devices.

I use it to backup my Obsidian vault, but I don't use it to sync my vault to other computers. I pay for Obsidian Sync for that.

[–] density@kbin.social 2 points 11 months ago (1 children)

best description I have ever read of syncthing. they should put this in their readme or about page. describes the pros & cons in an honest way. I've had all the problems you describe and will probably have them again in the future, be confounded, be frustrated.

I get (mostly) worry-free backups

except this; it's sync not back up. ;) but it is very backup-like and in some situations does the job as well or better than backups

I <3 syncthing nevertheless

[–] shadejinx@infosec.pub 3 points 11 months ago

Sync isn't backup, but proper versioning can be a very simple backup.

load more comments (3 replies)