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?
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:
Resources:
> Any issues on the community? Report it using the report flag.
> Questions? DM the mods!
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.
I use rsync with an offsite backup.
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
I use Veeam to backup shares on my NAS to rotated external drives. I also backup a Linux server.
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).
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.
On Proxmox, I use the built-in system + storing it to my Synology NAS (RS1221+). I use Active Backup for business (filesync) to back up the Proxmox config files, and also backup the husband’s PC and my work PC.
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.
I’ve had excellent luck with Kopia, backing up to Backblaze B2.
At work, I do the same to a local directory in my company provided OneDrive account to keep company data on company resources.
VM instances on the Proxmox VE with native integration with the Proxmox Backup Server (PBS).
For non-VM a little PBS agent.
How do you guys back up your server? - Lemmy.world
Everything:
Kopia encrypted -> another phisical drive
Kopia encrypted -> backblaze B2
Most important folder (part of everything):
Duplicaty encrypted -> google drive
I do something similar with kopia to b2. it works wonderfully.
I use restic (and dejadup just to be safe) backing up to multiple cloud storage points. Among these cloud storage points are borgbase.com, backblaze b2 and Microsoft cloud.
Rsync to backblaze b2. I only backup the stuff I can’t download again (photos/docs etc). It’s the cheapest option and does version control automatically for me on a 12 hourly basis.
I then also once a week plug in my external SSD and it auto dumps changes to it via rclone.
Google drive/takeout etc are all done periodically and put into a folder that will roll into the above backups.
I’m running https://www.arqbackup.com/ to Storj and Synology on my desktops and plain NFS copy on my server.
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.