TranslateProject/sources/tech/20200121 Syncthing- Open Source P2P File Syncing Tool.md
DarkSun 9fcfc5c97f 选题: 20200121 Syncthing: Open Source P2P File Syncing Tool
sources/tech/20200121 Syncthing- Open Source P2P File Syncing Tool.md
2020-01-21 00:54:09 +08:00

7.4 KiB
Raw Blame History

Syncthing: Open Source P2P File Syncing Tool

Brief: Syncthing is an open-source peer-to-peer file synchronization tool that you can use for syncing files between multiple devices (including an Android phone).

Usually, we have a cloud sync solution like MEGA or Dropbox to have a backup of our files on the cloud while making it easier to share it.

But, what do you do if you want to sync your files across multiple devices without storing them on the cloud?

That is where Syncthing comes to the rescue.

Syncthing: An open source tool to synchronize files across devices

Syncthing lets you sync your files across multiple devices (including the support for Android smartphones). It primarily works through a web UI on Linux but also offers a GUI (to separately install).

However, Syncthing does not utilize the cloud at all it is a peer-to-peer file synchronization tool. Your data doesnt go to a central server. Instead, the data is synced with all the devices between them. So, it does not really replace the typical cloud storage services on Linux.

To add remote devices, you just need the device ID (or simply scan the QR code), no IP addresses involved.

If you want a remote backup of your files you should probably rely on the cloud.

Syncthing GUI

All things considered, Syncthing can come in handy for a lot of things. Technically, you can have your important files accessible on multiple systems securely and privately without worrying about anyone spying on your data.

For instance, you may not want to store some of the sensitive files on the cloud so you can add other trusted devices to sync and keep a copy of those files.

Even though I described it briefly, theres more to it and than meets the eye. Id also recommend reading the official FAQ to clear some confusion on how it works if youre interested.

Features of Syncthing

You probably do not want a lot of options in a synchronization tool it should be dead simple to work reliably to sync your files.

Syncthing is indeed quite simple and easy to understand even though it is recommended that you should go through the documentation if you want to use every bit of its functionality.

Here, Ill highlight a few useful features of Syncthing:

Cross-Platform Support

Syncthing on Android

Being an open-source solution, it does support Windows, Linux, and macOS.

In addition to that, it also supports Android smartphones. Youll be disappointed if you have an iOS device so far, no plans for iOS support.

File Versioning

Syncthing File Versioning

Syncthing utilizes a variety of File Versioning methods to archive the old files if they are replaced or deleted.

By default, you wont find it enabled. But, when you create a folder to sync, thats when you will find the option to toggle the file versioning to your preferred method.

Easy To Use

While being a peer-to-peer file synchronization tool, it just works out of the box with no advanced tweaks.

However, it does let you configure advanced settings when needed.

Security & Privacy

Even though you do not share your data with any cloud service providers, there are still some connections made that might gain the attention of an eavesdropper. So, Syncthing makes sure the communication is secured using TLS.

In addition to that, there are solid authentication methods to ensure that only the devices/connections you allow explicitly will be granted access to sync/read data.

For Android smartphones, you can also force the traffic through Tor if youre using the Orbot app. Youll find several other options for Android as well.

Other Functionalities

When exploring the tool yourself, you will notice that there are no limits to how many folders you can sync and the number of devices that you can sync.

So, being a free and open-source solution with lots of useful features makes it an impressive choice for Linux users looking to have a peer-to-peer sync client.

Installing Syncthing on Linux

You may not observe a .deb file or an .AppImage file for it on its official download webpage. But, you do get a snap package on the Snap store if youre curious you can read about using snap apps on Linux to get started.

You may not find it in the software center (if you do it may not be the latest version).

Note: Theres also a Syncthing-GTK available if you want a GUI to manage that instead of a browser.

Syncthing

You can also utilize the terminal to get it installed if you have a Debian-based distro the instructions are on the official download page.

My experience with Syncthing

Personally, I got it installed on Pop!_OS 19.10 and used it for a while before writing this up.

I tried syncing folders, removing them, adding duplicate files to see how the file versioning works, and so on. It worked just fine.

However, when I tried syncing it to a phone (Android) the sync started a bit late, it wasnt very quick. So, if we could have an option to explicitly force sync, that could help. Or, did I miss the option? Let me know in the comments if I did.

Technically, it uses the resources of your system to work so if you have a number of devices connected to sync, it should potentially improve the sync speed (upload/download).

Overall, it works quite well but I must say that you shouldnt rely on it as the only backup solution to your data.

Wrapping Up

Have you tried Syncthing yet? If yes, how was your experience with it? Feel free to share it in the comments below.

Also, if you know about some awesome alternatives to this let me know about it as well.


via: https://itsfoss.com/syncthing/

作者:Ankush Das 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出