this post was submitted on 12 Jul 2023
82 points (97.7% liked)

Selfhosted

40329 readers
350 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
 

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) 20 comments
sorted by: hot top controversial new old
[–] 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

I use rsync with an offsite backup.

[–] 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.

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

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

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

my solution is syncthing

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

I've gotten decent results from s3cmd sync.

[–] ScandalFan85@feddit.de 1 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.

[–] 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)

[–] 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).

[–] Wenny@discuss.tchncs.de 1 points 6 months ago

I usually use HanBrake, MakeMKV, or DVDFab to copy bluray disc.

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

[–] hitagi@ani.social 1 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.

[–] 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.

[–] sam@lemmy.ca 0 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)
[–] 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!

load more comments
view more: ‹ prev next ›