Activate Hetzner snapshot restore test after live validation
Codex first live run passed (SUCCESS, 7 snapshots, single-file restore from .zfs/snapshot; report hetzner-snapshot-2026-06-23.md) with no ENV overrides. Set runbook status to active, document the run, and add the monthly cadence (15th, cron 0 6 15 * *) to schedule.md and the restore-tests README. Remaining host step: create the Unraid User Script restore-hetzner-snapshot-monthly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Hetzner Storage Box Snapshot Restore - Runbook
|
||||
|
||||
Typ: Runbook · Stand: 2026-06-23 · Status: v1 (Live-Validierung ausstehend)
|
||||
Typ: Runbook · Stand: 2026-06-23 · Status: aktiv (live validiert 2026-06-23)
|
||||
|
||||
Belegt den Off-site-Schutz der Hetzner Storage Box. Append-only ist bewusst NICHT
|
||||
umgesetzt (DECISIONS 2026-06-01); der Schutz ist snapshot-basiert (DECISIONS
|
||||
@@ -27,21 +27,18 @@ Secret im Skript, kein Schreibzugriff, kein `prune`/`compact`.
|
||||
- neuester: `Automatic-2026-06-23T05-30-24`
|
||||
- Probe `hetzner_borg_appdata_critical/README`, 73 B, SHA256 erzeugt, Temp geloescht
|
||||
|
||||
## Ausstehend: einmalige Live-Validierung
|
||||
## Live-Validierung (2026-06-23, Codex): erfolgreich
|
||||
|
||||
Das Skript ist nach den oben belegten Werten gebaut, aber noch nicht gegen die Box
|
||||
gelaufen. Erstlauf:
|
||||
Erstlauf ohne ENV-Anpassung gruen (`SUCCESS`), Defaults passten direkt:
|
||||
|
||||
```bash
|
||||
bash /mnt/user/services/homelab-infra/ops/restore-tests/run-restore-checks.sh hetzner-snapshot --what-if
|
||||
bash /mnt/user/services/homelab-infra/ops/restore-tests/run-restore-checks.sh hetzner-snapshot
|
||||
```
|
||||
- Report: `/mnt/user/backups/restore-reports/hetzner-snapshot-2026-06-23.md`
|
||||
- 7 Snapshots gefunden, neuester `Automatic-2026-06-23T05-30-24`
|
||||
- Einzeldatei-Restore aus `.zfs/snapshot` erfolgreich
|
||||
|
||||
Falls die Storage-Box-Shell die SFTP-`ls`/`get`-Form oder den `.zfs/snapshot`-Pfad
|
||||
anders erwartet, ueber ENV justieren (kein Code-Change noetig):
|
||||
`SNAPSHOT_DIR`, `PROBE_FILE`, `SNAPSHOT_NAME_GLOB`, `SNAPSHOT_SSH_OPTS`,
|
||||
`MIN_SNAPSHOTS`, `MAX_SNAPSHOT_AGE_HOURS`. Bitte den tatsaechlich funktionierenden
|
||||
SFTP-Aufruf aus dem manuellen Lauf gegenpruefen (Key/Identity, Port).
|
||||
ENV-Override (`SNAPSHOT_DIR`, `PROBE_FILE`, `SNAPSHOT_NAME_GLOB`,
|
||||
`SNAPSHOT_SSH_OPTS`, `MIN_SNAPSHOTS`, `MAX_SNAPSHOT_AGE_HOURS`) bleibt fuer
|
||||
kuenftige Abweichungen verfuegbar.
|
||||
|
||||
Nach erfolgreichem Erstlauf: in `schedule.md` aufnehmen (Vorschlag: monatlich,
|
||||
analog Zufalls-Restore) und Status hier auf "aktiv" setzen.
|
||||
**Verbleibender Host-Schritt (Codex/Du):** Unraid-User-Script
|
||||
`restore-hetzner-snapshot-monthly` anlegen (Cron `0 6 15 * *`), Vorlage in
|
||||
`unraid-user-scripts.md`.
|
||||
|
||||
Reference in New Issue
Block a user