The homelab follows a philosophy of independent, per-service backups: each category of data — Docker volumes, Compose stacks, Proxmox VM and LXC images — is backed up in isolation so that restoring one service never requires touching another. All backup data lands on a 1 TB HDD exposed to both Proxmox and the Docker VM through an NFS share, giving every node in the lab access to a single, consistent backup target.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/IsaiasCarrion/Homelab/llms.txt
Use this file to discover all available pages before exploring further.
Backup Storage
The 1 TB HDD is mounted at/mnt/hdd-backup and shared across the infrastructure via NFS. The following table summarises what gets backed up and where each category lives on the backup volume:
| Category | Destination Path |
|---|---|
| Docker Volumes | /mnt/hdd-backup/docker/volumes/ |
| Compose Stacks | /mnt/hdd-backup/docker/stacks/ |
| Proxmox VM / LXC | /mnt/hdd-backup/backups/ |
Backup Directory Layout
The persistent storage tree under/mnt/hdd-backup/docker/ is organised by function, keeping each type of artefact in its own named directory:
- portainer/ — Portainer’s own application data and configuration
- stacks/ — exported Compose stack definitions
- volumes/ — data from individual Docker named volumes
- backups/ — general-purpose backup artefacts
- git/ — repository mirrors or bare clones (planned for Gitea)
- dashboards/ — Dashy and Grafana dashboard JSON exports
Running the Backup Script
Thebackup.sh script in the scripts/ directory automates the full backup process. Run it manually at any time with:
backup.sh to a cron schedule on the Docker VM so it runs automatically — for example, nightly at 03:00. See the Scripts page for a sample crontab configuration.
Proxmox Backups
Proxmox VE ships with the built-invzdump utility for creating consistent snapshots of LXC containers and KVM virtual machines. vzdump can be configured directly in the Proxmox web UI (Datacenter → Backup) or invoked from the command line, and should be pointed at /mnt/hdd-backup so that all VM and LXC backup archives land on the same NFS-backed volume as the Docker data: