I have been very very busy with work. Regardless COVID, I did homeoffice for about 2 weeks (and only due to suspicion of infection), work load increased considerably and therefore, I really abandoned this blog and I regret it, but I will try to keep writting it regardless the work.
So, Let's start with the entry:
Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it's transmitted over the internet.
Yeah, just like that. I have add that Syncthing not only synchronizes your data (files, photos, blah blah) between computers. It has also a mobile app for your phone —which is free on Android and iPhone (under the name of Möbius Sync but I think you have to pay an extra for unlimited syncs).
So why would you want to use it?
Well if you have been unlucky as me, then you have lost your precious data due to a disk failure of your PC/laptop or got it stolen and you did not have a backup. You should have learned by now that you need backups of your data and might have listened of the 3-2-1 Backup Rule. And yeah, you can choose a cloud service like Google Drive, Dropbox, etc. but I will focus only on Syncthing as personal tool for backups at home.
What you need
You can set up Syncthing easily on your pc or laptop, which we will assume it is the host. In other words: The computer that will serve as the Cloud of the devices you want to backup.
So just download and install it on the Host.
- After the installation, start syncthing and you can access the configuration page through
http://localhost:8384/
from the webbrowser on your host. - Install syncthing on the devices your want to backup as well.
Configure your folders
Initially, you will have a Default Folder
and it will be marked as "Unshared", since you still have not added devices to share.
Below, you will see the option Add Folder
where you can specify the path of the folders you want to share and the labels for identification.
I will assume you want to backup the photos of a phone.
On the Host:
- Go to
http://localhost:8384/
on the webbrowser of your host. - On the top right is the option
Actions
and thenShow ID
. A long ID and a QR code will appear.
On the phone:
- Open the app and go to Devices and tap on the
+
- Scan the QR code of the host et voilá.
Last step is to configure the folders that you want to share between both devices. Surely, you will not struggle, I find the UI is very intuitive.
As a tip, path of camera folder on Androd is /storage/emulated/0/DCIM/Camera
Final thoughts
- You have to keep in mind that synchronization will only occur when the devices are online.
- Shared folders are initially configured as a
Send & Receive Folder
. Which means everything the Host does in the folder (add/delete/modify) will be reflected on the Device, and viceversa. You can change this Folder Type. - Every Device you install Syncthing will act as a Host itself. This is helpfull if you want to keep synced data only within your Work Lap and your phone; you will need pair the Work Lap and phone with a shared folder that will only be shared between those devices but not in the Host PC (which you will most likely use to backup personal stuff).
- Please check the Getting Started information and the whole set of Syncthing’s documentation!
If you found this content useful, please support me:
BTC: 1E2YjL6ysiPxRF4AEdXChpzpesRuyzgE1y