Synchronise or backup your desktop with Syncthing

Syncthing is one of those programs that really makes open source software stand out. It gives you the ability to synchronise your computer with another computer in real time. Eg; You change a file on you computer and the file will update on the other.

Installation

To install Syncthing open Konsole and type,

sudo apt install curl apt-transport-https

This will install the curl command and the other package gives apt the ability to download from https secured repositories.

Then add the Syncthing signing key to your computer with,

curl -s https://syncthing.net/release-key.txt | sudo apt-key add -

And add the repository to your sources with,

sudo su -c "echo 'deb https://apt.syncthing.net/ syncthing release' >> /etc/apt/sources.list.d/syncthing.list"

After this you can update and install Syncthing using the command,

sudo apt update && sudo apt install syncthing

So now you Syncthing installed and you can go and start it using the Application menu. There it will be found under Applications/Internet. But really the best way to use it is to start it at boot so you don’t have to worry about it. This can be done adding it to the services that start under systemctl.

You can add Syncthing to the list of services to start with,

sudo systemctl enable syncthing@<username>.service

Remembering to replace <username> with your own <username>. Having enabled the service you can then start it with,

sudo systemctl start syncthing@<username>.service

Or check it’s status with,

sudo systemctl status syncthing@<username>.service

Generally the program is used in the browser though and as long as it has installed properly you should be able reach it at http://localhost:8384 in your browser.

Further information

Syncthing website

Leave a comment