I just started getting into self hosting using docker compose and I wonder about possible backup solutions. I only have to safe my docker config so far, but I want host files as well. What software and hardware are you using for backup?
raid1 + data duplication
Photos, videos, music, documents, etc… are available on multiple devices using SyncThing.
RAID is not a backup. I’m not sure about syncthing, does that count as backup? Have you tried restoring from it?
It’s not pedantry, it’s just that RAID and instant data duplication or synchronization aren’t meant to protect you from many of the situations in which you would need a backup. If a drive fails, you can restore the information from wherever you duplicated the data to. If, however, your data is corrupted somehow, the corruption is just duplicated over and you have no way to restore the data to a state before the corruption happened. If you accidentally delete files you didn’t want to delete, the deletion is replicated over and, again, no way to restore them. RAID wasn’t built to solve the problems a backup tries to solve.
I’ve been using Borg to back my stuff up. It gets backed up to rsync.net, which has good support for Borg:
https://www.rsync.net/products/borg.html
If you’re good enough at computers, you can even set up a special borg account with them that’s cheaper and has no tech support.
Seconding this. On my unRAID host, I run a docker container called “Vorta” that uses Borg as its backend mechanism to backup to my SynologyNAS over NFS. Then on my Syno, run two backup jobs using HyperBackup, one goes to my cousin’s NAS connected via a Site-to-Site OpenVPN connection on our edge devices (Ubiquity Unifi Security Gateway Pro <-> UDM Pro), the other goes to Backblaze B2 Cloud Storage.
OP, let me know if you need any assistance setting something like this up. Gotta share the knowledge over here on Lemmy that we’re still used to searching evil Reddit for.
My brother and I both run an USG. Would love to learn from you how to set up site2site VPN!
Niiiice, quick question, are both of y’all running the latest UniFi Controller version & using the new WebUI view layout?
That looks cool, and they’ve got some other nifty looking things like https://www.pikapods.com/. Any idea how stable the company is? I partially like rsync.net because it’s pretty unlikely to just disappear someday.
Rsnapshot to an external USB drive.
Probably not the best, but it works for my little 6TB OpenMediaVault server with some Docker thrown in.
A lot of services have some kind of way to create backup files. I have cronjobs doing that daily then uploading it to some cloud storage with rclone.