Backup Strategie

Backup Strategie

💾 Automatisierte Backups

Proxmox VE Backup

  • Was: Alle LXC Container (CTID 100-107)
  • Wo: local-lvm Snapshot + externe Festplatte
  • Wann: Täglich 02:00 Uhr
  • Aufbewahrung: 7 Tage lokal, 30 Tage extern

Vaultwarden

  • Was: SQLite Datenbank + Attachments
  • Ort: /var/lib/vaultwarden/data
  • Backup: Täglich nach NAS
  • Encrypted: Ja (Admin Encryption Key)

WordPress

  • Datenbank: MySQL Dump täglich
  • Dateien: /var/www/html/wp-content
  • Backup Plugin: UpdraftPlus (empfohlen)

🔧 Manuelle Backups

Wichtige Dateien

# Cloudflare Credentials
/root/.cloudflared/c162314b-1fa0-46e4-b27f-af6633b490f3.json

# Beszel SSH Keys
/opt/beszel/hub_rsa

# Container Konfigurationen
/etc/pve/lxc/*.conf

🚨 Disaster Recovery

Totalausfall Host

  1. Proxmox VE auf neuem Hardware installieren
  2. Container Backups von externer Festplatte restoren
  3. Cloudflare Tunnel Credentials neu einspielen
  4. DNS-Einträge prüfen

Einzelner Container defekt

  1. Container stoppen
  2. Aus Backup restoren: pct restore <ctid> <backup-file>
  3. IP-Adresse neu konfigurieren
  4. Monitoring prüfen

✅ Backup Checkliste

  • [ ] Täglich: Automatische Backups laufen
  • [ ] Wöchentlich: Backup-Integrität prüfen
  • [ ] Monatlich: Test-Restore durchführen
  • [ ] Quartal: Disaster Recovery Simulation