this post was submitted on 02 May 2025
30 points (94.1% liked)

Selfhosted

46595 readers
1483 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi everyone! I am relatively new to self hosting and I am in the process of repurposing an old desktop computer as an offsite/remote server that I will have at a friends house.

My setup:

  • Local: RPi 4 running openmediavault
  • Remote: HP EliteDesk SFF running TrueNAS SCALE

My plan was to connect the machines using tailscale and use the borg plugin in openmediavault to create a remote server repo and save deduplicating and encrypted backups from the local server to the remote server. However, it seems that in order to do that I need a borg plugin installed on the remote server for which there doesn't seem to be a truenas app for. I know I could probably install it on the truenas server, but from what I have read, a truenas update could wipe the install and configuration.

Thus, I would appreciate any suggestions on making the above possible, or alternative setups that would help me achieve what I am looking for. My requirements are:

  • Openmediavault on the local server
  • Encrypted backups
  • Machines connected via VPN (tailscale was just so easy so I would prefer to continue using that, but I can be convinced otherwise)
you are viewing a single comment's thread
view the rest of the comments
[–] koala@programming.dev 4 points 1 day ago (2 children)

The next TrueNAS Scale can do LXC containers using Incus. It's similar to a VM, but more lightweight. You can create a container for any Linux distro and install Borg on that. With previous versions, I googled and found some instructions to run Borg in a container with SSH, or you could use a VM.

Borg also supports dummy SSH targets, that TrueNAS can provide. Apparently, it's lower performance-

Why the choice of TrueNAS Scale? For just a Borg target, you could run any Linux distribution.

[–] biomechLulu@lemmy.ml 1 points 1 day ago (1 children)

Thanks, I like the idea of running it in a container, I'll have to look into that.

That is a good question, haha. I wanted to try something other than openmediavault that had a GUI, was designed for NAS, and protects against disk failure (specifically with raidz). However, I think openmediavault actually supports zfs now which might be easier given that I am limited to openmediavault on my local Rpi 4 server.

[–] koala@programming.dev 3 points 1 day ago

I was going to mention ZFS, but I suspect Raspberries are too weak for ZFS?

If you can use ZFS in both sides, send/receive is the bomb. (I use it for my backups.) However, I'm not sure how well encryption would work for your purpose. IIRC, last time I looked at it, if you wanted an encrypted replica, the source dataset should be encrypted, which did not make me happy.

I'd love to work on making NASes "great" for non-technical people. I feel it's key. Sending encrypted backups through peers is one of my personal obsessions. It should be possible for people to buy two NAS, then set up encrypted backups over the Internet with a simple procedure. I wish TrueNAS Scale enabled that- right now it's the closest thing that exists, I think.