this post was submitted on 14 Oct 2023
15 points (89.5% liked)

Selfhosted

40113 readers
1500 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
 

A few months ago I setup my own Synching Server and its been working great. I right now have 7 devices (server itself, phone, tablets, laptops, Desktops, ...) synching files from 5 different folders. The problem I have right now is that adding new folders / devices is a huge hassle since in order for EVERY device to properly be in sync I need to manually add for example a new folder to every device. If I were to add 5 new folders I would need to repeat this 5 times for 7 devices... I think you get the point.

What I wanna know is if there is a simple way to basically share all the folder keys of a syncthing device with another device without manually copy pasting them? I don't really care if this would be by enabling some setting on the server or by copying around a file (I do this for example with my newpipe subscriptions and use syncthing for that).

Also just creating one large folder is something I'm trying to avoid since not every device needs everything you loose the ability to fine control individual folders. I for example don't want my phone to start syncing my music library when I'm using data.

EDIT :

I played around a bit more and I found out that going into the server and marking all the devices add as introducers sends a notification to all these devices where you can easily share folders!

you are viewing a single comment's thread
view the rest of the comments
[–] BearOfaTime@lemm.ee 3 points 1 year ago* (last edited 1 year ago) (1 children)

Not easily, but what you can do (what I do when setting up/resetting a phone): Setup ST clean on one device. Then configure all the folders/shares you want to use on other devices.

Do a backup.

Copy that backup to other devices. Restore.

Of course, this would overwrite anything there, but it's good for that initial setup, to get the devices/shares in.

Edit: Also check out Syncthing-Fork. Gives you finer control within folders, such as battery and network settings, rather than for ST as a whole.

Edit2: I keep a share on my primary machine (desktop that acts as my server) just for information like this. There are text files in there, one is "Syncthing Info" with Device names, ST identifiers, share names/identifiers, descriptions, etc. Since my phone has that share, I can easily access all that info, or even share that share with other devices.

[–] aluminium@lemmy.world 2 points 1 year ago (1 children)

Thanks, I have tried method you described but in my case it led to a total mess since the device I exported from and imported from then were indistinctable for all other devices causing issues.

But thanks for telling me about syncthing fork! I will definitly check it out!

[–] BearOfaTime@lemm.ee 1 points 1 year ago (1 children)

Crap, I didn't realize the backup carried over the device ID. Hmm. Are we able to change the device ID in ST? Or maybe in the backup?

[–] aluminium@lemmy.world 1 points 1 year ago (1 children)

maybe, since its mostly XML files maybe I can make a script that scrambles the Device IDs for something new. But I was hoping for a built in solution.

[–] BearOfaTime@lemm.ee 0 points 1 year ago

Oh, for sure.

ST has tremendous potential. I realize it's an OSS app, but they do have a corporate sponsor (the company behind Möbius sync for iOS), so I'd hope we'll see some more active development.

Sync job management/sharing would be nice.

Have you tried ResilioSync? It has some management features like this, but I find it heavier on my phone (uses a lot more ram).