this post was submitted on 13 Dec 2025
49 points (98.0% liked)

Selfhosted

61409 readers
755 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hello, so, I have been self-hosting some basic stuff recently, including data storage so i don't have to rely on external services like google drive.

It's working fine, but I wondered what would be the best backup solutions in case something unexpected and unfortunate happens (accidentally wipe out everything, drives dying, electrical issues, house burning down, that sort of thing).

I was wondering if more experienced self-hosters had recommendations about that ?

Maybe storing a physical drive in an especially sturdy box ? Perhaps using distant cold storage solutions ? Or even something I have never heard of ?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] HelloRoot@lemy.lol 3 points 8 months ago* (last edited 8 months ago) (1 children)

I have 2 powered RAID enclosures from icybox with 2 multi TB HDD in each one. The RAID is set to mirror the drives.

They are connected via usb 3 to a raspberry pi which runs borgbackup.

One is in my own place, just next to the main server.

The other is at my parents place in another city.

All my desktops, laptops and servers have borgmatic installed with the two pi's as two targets. So when I create a backup it gets send to both locations. On my PCs I manually do a borg backup like once a month when I feel like it. The server computers are all on a daily schedule.

Borg has extremely efficient compression and defuplication. So having 20 historical snapshots of the whole file storage of each device takes about 30% less space than the original size on disk.

For example my desktop currently uses ~800GB but the borgbackup of said desktop takes only ~500GB.

The only disadvantage I find is that there is no cross system deduplication.

The super useful advantage is that I was able to just take the HDD enclosure, plug it into my Desktop and restore whatever files I want. I did an rsync to a blank fs once and it restored everything properly. And it's pretty cheap. like 150$ total per backup location without any significant monthly costs.

I used hetzners storagebox for a while for borgbackups but restoring from it was SO SLOW. And my internet connection is not stable enough to do that without interruptions for multiple days. Never again, except for using it as an extra last resort "cloud" backup.