view the rest of the comments
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Around 15 years. Should I buy something like 2x 1tb hdd and raid them together?
If I've learned something about selfhosting and backups it is that you can trust HDDs to spin for 3-5 years and should still do backups. I myself do backups to HDDs that are only powered on for these backups. I'm still not sure if thats enougth.
Raid is more for an always-on solution, but not great for safe backups. They still might get damaged at the same time, because you bought them at the same time, from the same vendor and they have the same usage time.
Yes.
I believe it really depends on the amount of data you write to the disks. From my experience: if you've two disks, same model, same brand, same powered on hours they might fail at the same time and you end up with nothing thus for most people it might not even be worth to RAID at all on a home NAS. Have a main disk for always online to write / read from and a second disk that is turned on once a day to rsync all data is. Most likely safer and more reliable, you also get extra protection against accidental deletes.
These kinds of issues are what drove me to use RaidZ2 (I went over board with using 6-disks): When during resilvering after a broken disk a second disk fails, it'll still keep the data.
One thing that RAID doesn't do is verify the integrity of your data on read. In other words: if you have silent data corruption somewhere you won't notice.
For many use cases that's acceptable, since it doesn't handle often, but personally I don't like it for any kind or achival/backups. That's why I picked ZFS, which stores and verifies checksums even on non-mirrored/non-raid storage. I've added RaidZ2 (similar to RAID 5 with 2 parity disks) on top of it to be able to recover from checksum errors.