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?
So far I have had good experience with kopia. But it is definitly less battle-tested than the other alternatives and I do not use it for too critical stuff yet.
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.
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’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.
Local backup to my Synology NAS every night which is then replicated to another NAS at my folks house through a secure VPN tunnel. Pretty simple and easy to deploy.
Sounds good. What do you use for replication?
Most likely Hyper Backup & Hyper Vault, two applications built into Synology’s DSM software that runs on their NAS devices.
Just simple old rsync. The nas at the far-end is an old QNAP I had lying around.
Thanks! I just started setting up NixOS on my laptop and I’m planning to use it for servers next. Saving this for later!
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.
Encrypted backup to google drive weekly from unraid, planning to get a NAS for another backup location
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.
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)
I use Backblaze B2. I was using AWS S3 but the Backblaze pricing is significantly better.
You should look into s3 deep glacier. It’s $0.001 GB / month. Caveat is there’s a 6 month minimum charge per object.
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.
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 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.
I run a second Unraid server with a couple of backup-related applications, as well as Duplicati. I have my main server network mounted and run scheduled jobs to both copy data from the main pool to the backup pool, as well as to Backblaze. Nice having the on-site backup as well as the cloud based.
I occasionally burn to 100gb blurays as well for the physical backup.