this post was submitted on 25 Dec 2024
9 points (80.0% liked)

homelab

6753 readers
4 users here now

founded 4 years ago
MODERATORS
 

I am mainly hosting Jellyfin, Nextcloud, and Audiobookself. The files for these services are currently stored on a 2TB HDD and I don't want to lose them in case of a drive failure. I bought two 12TB HDDs because 2TB got tight and I thought I could add redundancy to my system, to prevent data loss due to a drive failure. I thought I would go with a RAID 2 (or another form of RAID?), but everyone on the internet says that RAID is not a backup. I am not sure if I need a backup. I just want to avoid losing my files when the disk fails.
How should I proceed? Should I use RAID2, or rsync the files every, let's say, week? I don't want to have another machine, so I would hook up the rsync target drive to the same machine as the rsync host drive! Rsyncing the files seems to be very cumbersome (also when using a cron job).

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Quazatron 2 points 2 weeks ago (1 children)

You can backup to an external USB drive (that's what I do), or setup a small backup server (with RAID if you want).

If you use Borg it will do the right thing out of the box with minimal configuration - compression, deduplication, encryption, and incremental backups.

The first backup will be full and take longer, but subsequent backups will only target changes and will be quite fast.

Restoring is very straightforward, even if you only need a single file you deleted accidentally.

[โ€“] mobergmann 1 points 1 week ago* (last edited 1 week ago)

Thanks, I will look into that!