Syncthing as a NS8 app?

,

@oneitonitram , for you consideration?

https://syncthing.net/

I myself have no immediate need, but having such a well known nifty and lightweight tool as a NS8 app would come in handy for some.

TIA :wink:

I have been looking at this solution, and (i guess i am too lazy to reearch) Does it backup local machines to a server, or does it backup Server Files to a remote Server destination.

IF it backups the server files to a remote destination, Would or should this be implemented as a
Root module, then it can have access to all other Data in NS8?

It synces files 2 endpoints, be it server → PC, PC->PC or whatever.

I envision I use the syncthing client for Android on my phone and select all files that I want to be synced to a remote server with Syncthing or any machine with syncthing.

Lightweight, platform agnostic, fast, unattended, not depending on any greater framework or applications (e.g. Netcloud/webdav)

For example I would create Syncthing instances for all my devices or users.

Root or rootless, no idea, sorry.

THT

1 Like

it uses p2p to sync files both ways or in only one direction between devices having the software installed (windows/linux pc, Mac, Android, NAS…). As more devices, more sources to sync from and increased speed can be reached.

1 Like

Looking at it, my persoanl thinking and opinion is that, Implementing Syncthing into NS8 for the purpose of backing up local Data from phone to Server, or PC to server, might not actually be the best solution, refer to questions in this discussion Defining Shared Folder Access Volume - Development - NethServer Community

However, implementing Syncthing to Backup files In Apps into another Location, might be a great idea.
This would be better placed to something like a NAS, otherwise youll be forced to do weired Mappings of NS8 into another NAS box for storage when files get huge.

This is just my personal Observation and opinion.
I could be wrong, and a much clearer picture might help me better understand this aspect.

Since Syncthing is vendor agnostic, platform agnostic and P2P, one could use Syncthing app on NS8 any way they want. That would be the beauty. Since it would be an NS8 app with possibly more or many instances, all data could be backup too with the default backup mechanism available.

So basically my question is if Syncthing can be “wrapped” as a NS8 app with multiple instances, where within each instance it has a dedicated config. Freedom of choice on how to use it :wink:

Oh, did I mention it is very secure too?

FYI: A basic example review/explanation Syncthing Review | Is it worth it? - ProPrivacy.com

HTH

Ok,ill look into it more

1 Like

Could this potentially help me solve for this problem
Defining Shared Folder Access Volume - Development - NethServer Community

Don’t think so.
Syncthing is not designed to sync locally (same node/device) and that would be a waste of space resources (unless the underlying file-system of the ns8 node used de-duplication). Even if it could, another problem we could face would be file permissions and ownership needed by each instance. Syncthing is neither meant or able to mount folders.

Syncthing is a sync tool not a backup one. Modifications/deletion propagate from one device to another (although some folders can be configured as Send or Receive Only).

A NS8 Synchting app without access to other containers files would be of limited use. You could create your own silo and sync back and forth with other devices, that’s true.

As far as I recall, Syncthing is self-contained on a single file and then reads some config files on the filesystem. Need to open some port(s) for direct device communication or else use public relay servers (or host your own relay server(s)).

Example of syncthing’s web interface:

Theoretically you could bundle almost any app + syncthing to achieve external sync (like apps that implement samba, rsync server, (s)ftp, webdav or another transfer protocol, you have an example with the web server and sftpgo), but probably it’s not the best tool for that and kind of a “nasty” or inelegant workaround.

2 Likes

NAh, thats exactly what it hsa been designed to do and it is goign to fit the Bill.

I had wanted to implement the ARR stack of applications, SONARR, LIDARR, PROWLARR,RADARR, as well as others. like JEllyfin, Emby and the likes.

the aim was not to bundle all these apps and expose them all into a single NS8 module, (which unfortunate for this case) is the way NS8 hads been designed to function

But i needed the user to decide what of the options they can chose to install. these apps share mofie file names, subtitles, and what have you and some metadata, which only need Volumes Mapping.

So, they are allowed to share and sync data accross the apps, if Syncthing can ashive ths, then could bundle a syncthing client in each of the apps, and build a syncthing server as a seprate app to join them all…

This could also work for Calibre and Calibre web, though recently i came accross and autoimport tool for that…

Can’t they read from the same Minio object storage?

is volume mappings equated to nay s3 storage env if available?

Bump :wink:

Hehehe, Ok Noted.

We are working on a Testing Server at the moment, as we lack one, Once we have one setup, we should be good to go.

If you have a VM you can donate from your it would also be awesome :sweat_smile:

CArd Added to our Board Nethserver · GitHub

1 Like