this post was submitted on 12 Jul 2023
74 points (97.4% liked)

Selfhosted

40492 readers
230 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) 18 comments
sorted by: hot top controversial new old
[–] thisbenzingring@lemmy.sdf.org 1 points 1 year ago (1 children)

veeam is pretty simple and powerful, the community version is free if you are only using it for a small environment (CPU cores is what it counts)

I havn't used it for docker but it says it is supported

[–] vairfoley@reddthat.com 1 points 1 year ago

I use Veeam to backup shares on my NAS to rotated external drives. I also backup a Linux server.

[–] thejevans@lemmy.ml 1 points 1 year ago

Thanks! I just started setting up NixOS on my laptop and I'm planning to use it for servers next. Saving this for later!

[–] p5f20w18k@lemmy.world 1 points 1 year ago

Encrypted backup to google drive weekly from unraid, planning to get a NAS for another backup location

[–] hogofwar@lemmy.world 1 points 1 year ago

I don't know if it's a smart solution but I have a HDD in my server that is used just for backups, each night I have rsync automatically moving stuff from multiple locations that I want to back up onto the drive. After that is done I have Kopia backup to B2, with compression, deduplication and encryption. I use healthchecks.io as well to alert me if any of the steps fails to complete (but none of the steps block each other).

[–] dr_robot@kbin.social 1 points 1 year ago

ZFS send to a pair of mirrored HDDs on the same machine ever hour and a daily restic backup to S3 storage. Every six months I test and verify the cloud backup.

[–] rambos@lemmy.world 1 points 1 year ago* (last edited 1 year 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
load more comments (1 replies)
[–] freeman@lemmy.pub 1 points 1 year 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)

[–] dtc 1 points 1 year 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.

[–] sv1sjp@lemmy.world 1 points 1 year ago

Rsync custom script. I am connecting two different hard disks (1 natively + 1 remotely via ssh) to backup the disk.

1 tine per month, U unplug ny microsd fro my Raspberry Pi 4 Server and I am making a full backup of the sd in case it fails, to restore it to a new sd card.

[–] hitagi@ani.social 0 points 1 year ago

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.

[–] mariom@lemmy.world 0 points 1 year 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.

[–] MajinBlayze@lemmy.world 0 points 1 year ago

I've gotten decent results from s3cmd sync.

[–] ScandalFan85@feddit.de 0 points 1 year ago

For my workstation I'm using a small script that packs and compresses all relevant directories with tar once a week. The resulting file is then copied to a local backup drive and to my NAS. An encrypted version of that file is sent to an offsite VPS.

For my selfhosted services (on Proxmox) I'm using ProxmoxBackupServer.

[–] sam@lemmy.ca -1 points 1 year 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 ›