The purpose of this page is to document the overall strategy in place for the homelab backups along with some repeatable operational procedures.
At this time, the backup strategy is assuming that there are 2 primary backup targets: the NAS and a Hetzner Storage Box named data-barn-1 (in keeping with the ranch theme). In all cases at this point, I am using Kopia, which is an open source backup product. It is very nice because it does compression and deduplication with the ability to do highly concurrent backup jobs.
We run Proxmox Backup Server on ranch-2 and that stores all backup images on the NAS in the ranch-backup shared folder.
Longhorn will backup many of the volumes to the NAS.
The Caladan laptop is configured to use kopia to backup to both the NAS and the data-barn-1 StorageBox.
Three layers, independent of each other:
/srv/docker_volumes to the data-barn-1 Storage Box (sub-account u465088-sub2), run as root by a systemd timer. It includes a fresh Keycloak database dump, and pauses headscale briefly so its database is copied consistently.data-barn-1 Storage Box, which host-1 can't see or delete.How to check and restore: host-1.rachelski.net, Kopia section. The setup is managed by Ansible: Managing host-1 with Ansible.
The Windows mini PC that I use primarily for CAD tasks currently does not have a backup scheme.
TODO: Fix this.
The Diskstation NAS has its own dedicated page: NAS Backups