Low power server in a friends basement running syncthing
Comment on 3-2-1 Backups: How do you do the 1 offsite backup?
huquad@lemmy.ml 2 months ago
Syncthing to a pi at my parents place.
Malatesta@lemmy.world 2 months ago
SorteKanin@feddit.dk 2 months ago
A pi with multiple terabytes of storage?
huquad@lemmy.ml 2 months ago
My most critical data is only ~2-3TB, including backups of all my documents and family photos. I have ~40TB of other Linux isos that have 2-drive redundancy, but no backups. If I lose those, i can always redownload.
dave@lemmy.wtf 2 months ago
using a meshVPN like tailscale or netbird would another option as well. it would allow you to use proper backup software like restic or whatever, and with tailscale on both devices, it would allow restic to be able to find the pi device even if the other person moved to a new house. (although a pi with ethernet would be preferable so all they have to do is plug it in to their new network and everything would be good. if it was a pi zero then someone would have to update the wifi password)
huquad@lemmy.ml 2 months ago
Funny you mention it. This is exactly what I do. Don’t use the relay servers for syncthing, just my tailnet for device to device networking.
Matriks404@lemmy.world 2 months ago
Huh, that’s a pretty good idea. I already have a Raspberry Pi setup at home, and it wouldn’t be hard to duplicate.
AtariDump@lemmy.world 2 months ago
But doesn’t that sync in real-time? Making it not a true backup?
huquad@lemmy.ml 2 months ago
Agreed. I have it configured on a delay and with multiple file versions. I also have another pi running rsnapshot (rsync tool).
AtariDump@lemmy.world 2 months ago
How’d you do that?
huquad@lemmy.ml 2 months ago
For the delay, I just reduce how often it checks for new files instead of instantaneously.
rumba@lemmy.zip 2 months ago
Edit the share, enable file versioning, choose which flavor.
sugar_in_your_tea@sh.itjust.works 2 months ago
You could use snapshots to provide the backup portion.
Appoxo@lemmy.dbzer0.com 2 months ago
In theory you could setup a cron with a docker compose to fire up a container, sync and once all endpoint jobs are synced to shut down.
As it seemingly has an API it should be possible.
thejml@lemm.ee 2 months ago
Have it sync the backup files from the -2- part. You can then copy them out of the syncthing folder to a local one with a cron to rotate them. That way you get the sync offsite and you can keep them out of the rotation as long as you want.