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?

0 points

raid1 + data duplication

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

permalink
report
reply
6 points

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

permalink
report
parent
reply
1 point

Sounds like pedantry to me.

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
2 points

Never tried syncthing. I will look into it.

permalink
report
parent
reply
1 point

Duplicati. Works like a charm. Supports practically every backend (S3, backblaze, one drive, Google, storj, sia, even Tahoe!

permalink
report
reply
18 points

I’ve been using Borg to back my stuff up. It gets backed up to rsync.net, which has good support for Borg:

https://www.rsync.net/products/borg.html

If you’re good enough at computers, you can even set up a special borg account with them that’s cheaper and has no tech support.

permalink
report
reply
4 points

Seconding this. On my unRAID host, I run a docker container called “Vorta” that uses Borg as its backend mechanism to backup to my SynologyNAS over NFS. Then on my Syno, run two backup jobs using HyperBackup, one goes to my cousin’s NAS connected via a Site-to-Site OpenVPN connection on our edge devices (Ubiquity Unifi Security Gateway Pro <-> UDM Pro), the other goes to Backblaze B2 Cloud Storage.

OP, let me know if you need any assistance setting something like this up. Gotta share the knowledge over here on Lemmy that we’re still used to searching evil Reddit for.

permalink
report
parent
reply
1 point

My brother and I both run an USG. Would love to learn from you how to set up site2site VPN!

permalink
report
parent
reply
1 point

Niiiice, quick question, are both of y’all running the latest UniFi Controller version & using the new WebUI view layout?

permalink
report
parent
reply
6 points

I was a rsync.net user for many years and recently switched to borgbase, because of how easy it is to manage multiple backup targets.

permalink
report
parent
reply
3 points

I’m on the same boat right now, borg and borgbase.

permalink
report
parent
reply
3 points

That looks cool, and they’ve got some other nifty looking things like https://www.pikapods.com/. Any idea how stable the company is? I partially like rsync.net because it’s pretty unlikely to just disappear someday.

permalink
report
parent
reply
2 points

Love Borg and the associated docker containers and the like. Really is set and forget!

permalink
report
parent
reply
1 point

Rsnapshot to an external USB drive.

Probably not the best, but it works for my little 6TB OpenMediaVault server with some Docker thrown in.

permalink
report
reply
1 point

A lot of services have some kind of way to create backup files. I have cronjobs doing that daily then uploading it to some cloud storage with rclone.

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 4.8K

    Monthly active users

  • 3.6K

    Posts

  • 77K

    Comments