I use #Syncthing on a #Pi that sits in some place (not home) behind a firewall, I installed #Tor on it and can SSH to it via a hidden service, very convenient, so now that #RPi got a 2TB external HDD that has to be mounted manually (due to encryption). The #RPi is used for #backup and it works like charm, it is up without a problem for over a month now and keeps some tens of GB now.
Really very nice thing. I guess you can also use #Rsync via the hidden service, but that wouldn't be fast. The thing is, this way you can take the Pi to any place, hook it to the LAN there, wait 5 minutes (max) and SSH into it from all over the world. Off-site backup made easy, just drop the Pi at your grandmothers, hook it up to the router and go.
You can also do this without the external HDD and use a 512 GB micro SD.
Really very nice thing. I guess you can also use #Rsync via the hidden service, but that wouldn't be fast. The thing is, this way you can take the Pi to any place, hook it to the LAN there, wait 5 minutes (max) and SSH into it from all over the world. Off-site backup made easy, just drop the Pi at your grandmothers, hook it up to the router and go.
You can also do this without the external HDD and use a 512 GB micro SD.
7 people like this
Ɽł₵Ⱨ₳ⱤĐ 3 months ago
DanTheFan 3 months ago
im thinking about replacing my pi. it regularly dies out of no reason. im tired...
utzer 3 months ago
The older one now got a bigger micro SD, but I was to lazy to get is configured, but I will do that next week I think.
I am not sure why it died that often, but I think there is some Pi that have problems with the internal power supply.
Stephen Judge 3 months ago
mezzodrinker 3 months ago
MacLemon 3 months ago
Also, given your latency very quite high over Tor, you may want to skip rsync.
You could be interested in restic though.
restic/restic
github.comsetThemFree 3 months ago
mezzodrinker 3 months ago
setThemFree 3 months ago
In general, I think Syncthing and/or rsync themselves are not enough for a reliable backup. The ability to travel back in time is crucial. I have had a situation when I learned that a file was deleted only a year after the fact. Luckily, I have had
setThemFree 3 months ago
utzer 3 months ago
Syncthing can be reached through the firewall, there is relays out there that it will connect to, so it is indirect connection then, but it works fine. Data transferred is encrypted, but you can also disable the relay function.
I use the tor hidden service because it is just nice, also in the LAN, to just plugin the Pi, then wait 2 minutes and it is available by SSH over the .onion address, this spares me from trying to find the local IP. Yeah I know how to do that by a network scan.
Also it is more fault prove, but I learned that Tor updates do not work fine when done in a screen and being connected via the hidden service. 🙁
Solution for this:
Syncthing can be reached through the firewall, there is relays out there that it will connect to, so it is indirect connection then, but it works fine. Data transferred is encrypted, but you can also disable the relay function.
I use the tor hidden service because it is just nice, also in the LAN, to just plugin the Pi, then wait 2 minutes and it is available by SSH over the .onion address, this spares me from trying to find the local IP. Yeah I know how to do that by a network scan.
Also it is more fault prove, but I learned that Tor updates do not work fine when done in a screen and being connected via the hidden service. 🙁
Solution for this:
What questions do remain?
I was always looking for a backup script that allows me to do a backup via some SSH connection to some server, it should be run daily and retain revision of each run up to a defined maximum age while using using hard links (I think that would save space in the destination), but then I would need a more performance computer that a RPi, because we are talking about a few hundred GB.
So the always on and syncing right away Syncthing is just working so good. But as said, combined with automated file system level snapshots that might just be it.
Open for suggestions and tips. Thanks for the valuable input so far.
setThemFree 3 months ago
utzer 3 months ago
setThemFree 3 months ago