6f52d46267
Enthält Host-Doku, MQTT/HA, Git-Setup, Power-Monitoring und GPU-Idle (pve2). Co-authored-by: Cursor <cursoragent@cursor.com>
1.4 KiB
1.4 KiB
04 — Backup-Konfiguration
Ziel
Backups sollen nicht mehr auf local (System-NVMe) landen, sondern auf der HDD records (~1,6 TB frei).
Durchgeführte Änderungen
1. Standard-Storage für vzdump
Datei: /etc/vzdump.conf
storage: records
Neue manuelle und geplante Backups nutzen damit standardmäßig records.
2. Backup von local entfernt
Datei: /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content iso,vztmpl
backup wurde aus content entfernt — ein versehentliches Backup auf die System-Partition wird erschwert.
3. Storage records (unverändert, bereits korrekt)
dir: records
path /mnt/pve/records
content iso,vztmpl,backup,images,rootdir
Vorhandene Backups auf local
- Es lag u. a. ein OPNsense-Backup (~15 GB) unter
/var/lib/vz/dump/ - Wurde vom Benutzer manuell gelöscht (wird noch benötigt — ggf. neu erstellen)
OPNsense neu sichern
vzdump 104 --storage records --mode snapshot --compress zstd
Geplante Backups (Cron)
Die Datei /etc/pve/vzdump.cron ist derzeit leer (kein clusterweiter Zeitplan). Backups laufen aktuell manuell oder müssen separat im Proxmox-UI / per Cron eingerichtet werden.
Prüfen
pvesm status
grep storage /etc/vzdump.conf
cat /etc/pve/storage.cfg
ls -lh /mnt/pve/records/dump/
ls -lh /var/lib/vz/dump/