Syncthing It is a tool to synchronize files locally and keep data from computers, mobiles and other devices up to date. In this guide we want to explain how a real service works cloudless and how to preserve data by generating copies of files in other previously linked folders and drives.
It is convenient to manage having a GUI and support for any format. It is useful for several cases: make a transition from one computer to another, between Windows and Deepin, retain document versions to reverse changes, and so on.
This application has other advantages that are a relief in keeping the files stable. Every time a change occurs or some file is empty Syncthing notifies each event and sends it to all the linked parties.
Syncthing is a program that has an independent repository to get the latest version. We show below the procedure to add it in Synaptic:
Ready, just install the package
syncthing-gtk and will integrate with the operating system. Apart from Deepin, which is cross-platform, we can download it on your website. We don't need to install any more, it makes it quite practical. And we even have integration with Docker courtesy Linuxserver.
How to sync files locally
As explained above, the procedure is technically known as "continuous pair-by-pair synchronization". All edition is registered by technology Block Exchange Protocol (the closest thing to say blockchain), and is preserved among the folders linked to the program by a folder ID. Obviously, you need to communicate with each other on a local area network.
After opening "Synaptic-GTK", we resorted to creating a folder. It bears the name, ID, location of the device and whether it will exclusively receive or send the data. The device carries a randomly generated identification, which in the case of the computer is shown from the corresponding access. It is copyable and generates a code to scan in another client.
For example, we can create a folder for the DecSync folder of the DAV server, and keep contacts and calendar permanently between devices. With this we avoid losing the data in case the computer fails.
To sync on an Android device, we installed the client from F-Droid. That for the mentioned example, it will be used to use DecSync on Android with the folder synchronized. We have folders, devices, and status. So, we assign the PC device to the mobile.
Note: The folder ID is different from the device ID (device or mobile). The device has the identifications of the folders, generated at random, since its creation. If the devices are not paired correctly, the folder IDs will not be shared and synchronization will not proceed.
Link to Android mobile
In the case of Android, you must install the Synthing client available in the Play Store or F-Droid. Once installed, you will have the tab-based interface available. Obviously, we must activate the service and be connected on the same local network.
We go to Devices, then Add. Then we scan the QR code. That will link the mobile and the PC. Now we go back to the Deepin client and note the device name to edit.
We mark the folder that we want to synchronize and confirm. We make sure that the folder with your ID is available. This takes a few minutes, depending on the stability of the network.
From the web client
In case the applications do not allow linking folders, you have the option to view from the web browser. With it, we can make the corresponding adjustments with greater stability.
Test files locally
To start the procedure, we tried copying a file and pasting into the linked folder. The folder bar will change color to blue with the text "Synchronizing ...". If the test succeeds, then we can start the process.