this post was submitted on 12 Jul 2023
75 points (97.5% liked)

Selfhosted

46677 readers
423 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 2 years ago
MODERATORS
 

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?

(page 2) 22 comments
sorted by: hot top controversial new old
[–] dtc@lemmy.pt 1 points 2 years ago

I've been using Restic for a while, and it's backing up to a Hetzner storage box (1TB).

Restic supports encryption, compression, deduplication, and can forget old backups in a spread out timeline (configurable; e.g. save one yearly, three monthly and 7 daily).

On top of this I also use healthchecks.io to make sure all backups are working.

[–] ComptitiveSubset@lemmy.world 1 points 2 years ago* (last edited 2 years ago)

For app data, Borg as backup/restore software. Backup data is then stored on Hetzner as an offsite backup - super easy and cheap to setup. Also add healthchecks.io to get notified if a backup failed.

Edit: Backup docker compose files and other scripts (without API keys!!!) with git to GitHub.

[–] Wxfisch@lemmy.world 1 points 2 years ago

Backblaze B2. Any software that is S3 compatible can use B2 as the target and it’s reasonably priced for the service. I backup all the PCs and services to a Synology NAS and then backup that to B2 (everything except my Plex media, that would be pricy and it’s easy enough to re-rip from disc if needed).

I use rsync with an offsite backup.

[–] boblemmy@lemmy.world 1 points 2 years ago

my solution is syncthing

[–] RxBrad@lemmy.world 1 points 2 years ago

Rsnapshot to an external USB drive.

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

[–] mariom@lemmy.world 1 points 2 years ago

For containers (but I use k3s) I use git to store helmfiles and configuration, secrets in ci/cd system.

For the rest - I use autorestic that backups data over ssh and S3.

[–] freeman@lemmy.pub 1 points 2 years ago

I have an old synology DS1513+

it runs Active Backup for business and Active backup for google workspace, as well as an AFP share for Apple machines. This is about 95% of all backups. Those backup archive files are then ALSO backed up to one of two large 14TB hdds. I swap them out monthly (or thereabout) and keep the spare at my office or in my firesafe when at home.

I have a couple other things out there too. A small SSh box to handle some scripting of config file backups etc. My main synology 1815+ also has a cloud sync up to backblaze that happens in realtime, but only keeps 1 copy of stuff as well as a hyperbackup job for super important stuff up to Backblaze, in addition to the nightly backups to the 1513+. This way if my house burns down I still have something (and likely a full copy with the 14TB HDD)

[–] MajinBlayze@lemmy.world 1 points 2 years ago

I've gotten decent results from s3cmd sync.

[–] Walker@fedia.io 1 points 2 years ago

All systems backup to Synology then to AWS Glacier. Ill check out Backblaze for pricing.

[–] lynny@lemmy.world 1 points 2 years ago

Someone on lemmy here suggested Restic, a backup solution written in Go.

I back up to an internal 4TB HDD every 30 minutes. My most important files are stored in an encrypted file storage online in the cloud.

Restic is good stuff.

[–] Wxfisch@lemmy.world 1 points 2 years ago

Backblaze B2. Any software that is S3 compatible can use B2 as the target and it’s reasonably priced for the service. I backup all the PCs and services to a Synology NAS and then backup that to B2 (everything except my Plex media, that would be pricy and it’s easy enough to re-rip from disc if needed).

[–] rambos@lemmy.world 0 points 2 years ago* (last edited 2 years ago) (1 children)

Everything:

Kopia encrypted -> another phisical drive

Kopia encrypted -> backblaze B2

  • Chron job every day at 4:15 AM

Most important folder (part of everything):

Duplicaty encrypted -> google drive

  • Also daily backup
[–] tupcakes@lemmy.world 1 points 2 years ago

I do something similar with kopia to b2. it works wonderfully.

[–] sam@lemmy.ca 0 points 2 years ago (6 children)

raid1 + data duplication

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

load more comments (6 replies)
load more comments
view more: ‹ prev next ›