r/unRAID • u/Ornithorynx037 • 4d ago
Buddy Backup
I saw the LTT video on HEX OS and their beta of a buddy backup system, I seem to remember the Lime Tech team mentioning this feature some time ago...
A feature like that would be very useful if implemented correctly, is it on the roadmap?
34
Upvotes
43
u/the_john19 4d ago
Unraid 8 will allow you to also backup to another UnRAID server.
11
u/Pixelplanet5 4d ago
could simply be build via a docker container.
The problem is HEX OS requires you to have an account and basically uses their servers to establish the connection.
That makes it easy and idiot proof but requires an external service to function at all.
If you dont have that you will need to open some ports over which the connections can be established or have a reverse proxy running that handles it.
Technically the function itself is easy, Claude would probably build this in 20 minutes of a single prompt, the question is how you make it idiot proof without having a service hosted that handles the connections.
10
u/Sinister_Crayon 4d ago
Syncthing.
It's been around for years and is totally free and absolutely can be used to buddy-backup either proxying through their servers or as a fully independent P2P connection. Obviously a direct P2P connection is preferred and is pretty easy to setup, but the proxy/relays on the open web work well. It won't encrypt the data on your buddy's computer though.
There are still other options that are more manual. Kopia would be my first go-to for this as the repository has a password only you know. You create the key when you create the repository. Your buddy would either need a VPN connection between the two of you or an open port or something like Tailscale to create a connection you can use.
HexOS' setup is very user friendly, and I am sure there are others who've set up similar tools. For my part I do a buddy backup with a friend of mine for my ~20TB of core critical data and he does the same with me. We do it with ZFS replication on TrueNAS and a VPN tunnel that is set up on our routers. But we're both networking geeks as well as server geeks LOL. We've been doing that for several years and the only changes have usually been "Hey, can I get a little more room for backups?"
I do also use Syncthing for that same data set to keep a copy on my unRAID.
5
u/1234youarein 3d ago
Unraid 8 - "Back up to the cloud, an S3 bucket, or another Unraid server, with snapshots and full restores built right into the product." https://unraid.net/blog/unraid-8-announced
7
u/that_dutch_dude 4d ago
free? no.
the whole reason "it just works" is because they are trafficing the connections wich requires a central server. unraid does not have that. the only real way that would be simple is tailscale but even that is considerably more drama than what hexos can do.
you pay for convienience.
2
u/N5tp4nts 4d ago
I do this today with syncthing
2
u/Spaghet-3 4d ago
Haven’t tried it yet, but I’ve seen this: https://ca.unraid.net/apps/zfs-buddy-backup-1x0ciny0rkngga
I’ve tried various other rsync-based systems with my buddy. It’s easy to get working but a lot of little troubles to keep it going. We could never get it fully set-and-forget. In the end, I decided that b2 backup was worth the cost.
0
u/corelabjoe 4d ago
Or... Just setup a VPN tunnel offsite to a buddy, and use a cron job and script to tar your important information into a bundle and ... Mount your buddies share he setup for you on his nas, voila! Copy that tar there via said cron and scripts!
Cron is just a scheduler at that point to run the script, script has all the logic and targets etc...
Pay $0.
-2
u/Rubenel 4d ago
Will UnRaid offer a free license which is restricted as a backup only server so we do not need to purchase another license?