this post was submitted on 10 May 2025
151 points (98.7% liked)

Selfhosted

46672 readers
688 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
 

I'm planning on setting up a nas/home server (primarily storage with some jellyfin and nextcloud and such mixed in) and since it is primarily for data storage I'd like to follow the data preservation rules of 3-2-1 backups. 3 copies on 2 mediums with 1 offsite - well actually I'm more trying to go for a 2-1 with 2 copies and one offsite, but that's besides the point. Now I'm wondering how to do the offsite backup properly.

My main goal would be to have an automatic system that does full system backups at a reasonable rate (I assume daily would be a bit much considering it's gonna be a few TB worth of HDDs which aren't exactly fast, but maybe weekly?) and then have 2-3 of those backups offsite at once as a sort of version control, if possible.

This has two components, the local upload system and the offsite storage provider. First the local system:

What is good software to encrypt the data before/while it's uploaded?

While I'd preferably upload the data to a provider I trust, accidents happen, and since they don't need to access the data, I'd prefer them not being able to, maliciously or not, so what is a good way to encrypt the data before it leaves my system?

What is a good way to upload the data?

After it has been encrypted, it needs to be sent. Is there any good software that can upload backups automatically on regular intervals? Maybe something that also handles the encryption part on the way?

Then there's the offsite storage provider. Personally I'd appreciate as many suggestions as possible, as there is of course no one size fits all, so if you've got good experiences with any, please do send their names. I'm basically just looking for network attached drives. I send my data to them, I leave it there and trust it stays there, and in case too many drives in my system fail for RAID-Z to handle, so 2, I'd like to be able to get the data off there after I've replaced my drives. That's all I really need from them.

For reference, this is gonna be my first NAS/Server/Anything of this sort. I realize it's mostly a regular computer and am familiar enough with Linux, so I can handle that basic stuff, but for the things you wouldn't do with a normal computer I am quite unfamiliar, so if any questions here seem dumb, I apologize. Thank you in advance for any information!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 21 hours ago* (last edited 20 hours ago) (4 children)

In theory. But I already spent my pension for those 64TB drives (raidz2) xD. Getting off-site backup for all of that feels like such a waste of money (until you regret it). I know it isn't a backup, but I'm praying the Raidz2 will be enough protection.

[–] [email protected] 3 points 10 hours ago

The cost of storage is always more than double the sticker price. The hidden fee is that you need a second and maybe a third one and a system to put it all in. Most our operational lab cost is backups. I can't replace the data if it's lost.

[–] [email protected] 8 points 14 hours ago (2 children)

Just a friendly reminder that RAID is not a backup...

Just consider if something accidentally overwrites some / all your files. This is a perfectly legit action and the checksums will happily match that new data, but your file(s) are gone...

[–] [email protected] 1 points 4 hours ago* (last edited 4 hours ago)

I do weekly ZFS snapshots though and I'm very diligent on my smart tests and scrubs. I also have a UPS and a lot of power surge protection. And ECC Ram. It's as safe as it gets. But having a backup would definitely be better, you're right. I just can't afford it for this much storage.

[–] [email protected] 1 points 7 hours ago

That's a great use-case for snapshots! RAID still isn't a backup, but it can be quite robust.

[–] [email protected] 5 points 16 hours ago (1 children)

Do you have to back up everything off site?

Maybe there are just a few critical files you need a disaster recovery plan for, and the rest is just covered by your raidz

[–] [email protected] 1 points 2 hours ago

I do backup like 1TB off-site. But it would still be a major blow if I lost the rest of it. I just try to live with that risk I'm fully aware exists.

[–] [email protected] 3 points 20 hours ago

Understanding the risks is half the battle, but we can only do what we can do.