81

I just started getting into self hosting using docker compose and I wonder about possible backup solutions. I only have to safe my docker config so far, but I want host files as well. What software and hardware are you using for backup?

you are viewing a single comment's thread
view the rest of the comments
[-] sam@lemmy.ca 0 points 1 year ago

raid1 + data duplication

Photos, videos, music, documents, etc.. are available on multiple devices using SyncThing.

[-] ErwinLottemann@kbin.social 6 points 1 year ago

RAID is not a backup. I'm not sure about syncthing, does that count as backup? Have you tried restoring from it?

[-] sam@lemmy.ca 1 points 1 year ago
[-] lynny@lemmy.world 3 points 1 year ago

If a program screws up and crashes while writing data to your drive, it can take out more than just the data it was dealing with. RAID will simply destroy data on both your drives at the same time, making any data recovery impossible.

[-] tables@kbin.social 3 points 1 year ago

It's not pedantry, it's just that RAID and instant data duplication or synchronization aren't meant to protect you from many of the situations in which you would need a backup. If a drive fails, you can restore the information from wherever you duplicated the data to. If, however, your data is corrupted somehow, the corruption is just duplicated over and you have no way to restore the data to a state before the corruption happened. If you accidentally delete files you didn't want to delete, the deletion is replicated over and, again, no way to restore them. RAID wasn't built to solve the problems a backup tries to solve.

[-] sam@lemmy.ca 2 points 1 year ago

Well I guess my personal definition of backup is wrong.

load more comments (4 replies)
this post was submitted on 12 Jul 2023
81 points (97.6% liked)

Selfhosted

40198 readers
703 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 1 year ago
MODERATORS