Hi,
(dont know if this is interesting for someone, but maybe an answer to the question how syncthing can be used to make backups)
How I use syncthing… Objective:
- Multiple devices should have access to the same files, even if they are not online
- Easy backup of these files with versioning
Solution in the case you have a server: Syncthing + rsnapshot
- Server runs syncthing
- All devices run syncthing
- Syncthing is used to do exactly what it is supposed to, syncing the files across all devices and the server.
- Then the backup is realized by plugging in an external HDD to the server and running rsnapshot to make a backup (with versioning) from the synced files.
Advantages:
- Sync over multiple devices
- Backup is available even if a file gets deleted or what ever goes wrong
- Backups do not require much space, as rsnapshot uses hardlinks
- Even if you do not need to sync one folder to an other device, this solution is nice for the following reason. Consider the case you want to backup multiple devices. Normally you would have to use your HDD to backup each device seperately, which most people would not do very seriously. However, the backup of the server can be automated (except for plugging in the HDD). Using syncthing to sync to the server and then just backing up this one centralized is very comfortable.
Things I miss from syncthing: when the backup scripts are running, I would prefer to pause the syncthing instance on the server. At the moment, I just kill it and restart it again, doing this via the API would, however, be nicer. I remember that there was an issue about this, but I can only find the issues related to pausing specific devices and not the whole instance. On the other hand, this is really a minor issue…
Syncthing is really great! Apart from the fact that you know nobody is watching you, if there is a serious error which would cause data loss, I am pretty sure someone would find it and raise an issue! This is the main reason for me to use it, compared to alternatives!