SYNCHRONIZE FILES LOCALLY WITH SYNCTHING

SYNCTHING

The easiest way to sync files locally

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.

Notice: The program it is not a simple tool to send files. Do not use this software to backup or if the file transfer fails frequently. If the phone does not allow you to use the application, we recommend another of the various methods that we have available.

Install Syncthing

Syncthing is a program that has an independent repository to get the latest version. We show below the procedure to add it in Synaptic:

  • URL: https://apt.syncthing.net/
  • Distribution: syncthing
  • Section: stable

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.

Syncthing at a glance

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

Syncthing para Android, para sincronizar archivos localmente

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.



4.8 17 votes
Rate the Article
 
Subscribe
Report of
7 Reviews
More popular
Newer Older
Opinion from the article
See all comments
Rubén Toro
Rubén Toro (@rubentoro)
1 month ago

Very good tutorial, it only threw me an error with the public key when loading the repository.
Once the following command was executed, everything went wonderfully.

Add public key

curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
Эли
Эли (@eli)
Admin
Answering to Ruben Toro
1 month ago

Thank you very much for the kind words, I am glad that it has served you well. maybe Diego wants to add that to the tutorial.
Greetings.

DarioAR
DarioAR (@darioar)
1 month ago

This seems to be good, I'm going to give it a try and report.

Эли
Эли (@eli)
Admin
1 month ago

excellent tutorial Diegoone more alternative.

XOdein
XOdein (@xodein)
1 month ago

I have used it and it has worked as expected.

TonyRevuelta
TonyRevuelta (@tonyrevuelta)
1 month ago

I have it in deepin with various folders on Android and it has rarely caused any problems.

7
0
We would like to know what you think, Join the discussion.x
()
x