Files
infrastructure/llm-server/host/ansible/roles/gn_backup_receiver
spektr 0d1325ff01
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 27s
ci-static / markdown-links (push) Successful in 21s
GNAI-024: Backslash-Artefakt in gn_backup_additional_keys Optionen entfernt
Die Options-Zeile enthielt literal \" statt " — in authorized_keys waere
die from="10.0.0.61"-Restriktion wirkungslos gewesen. Korrigiert auf
from="10.0.0.61" (YAML-parsed geprueft); README angepasst. Erneut auf
ghostnet-ki anwenden (host.yml, erwartet changed=1 fuer authorized_keys).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:46:31 +01:00
..

gn_backup_receiver

Dedicated receiver account gn-backup (UID 999, GID 987) on ghostnet-ki for host-independent LXC backups. The Proxmox host pushes its vzdump archives here over SSH (role pve_lxc_backup_sync in proxmox/pve-host/ansible), so the LXC backups survive a full loss of the PVE host (GNAI-000 section 4, blocker 4).

  • Locked password, no sudo, real shell only because ssh executes the receiving tar through it.
  • authorized_keys holds the PVE backup key (files/ssh/pve-backup.pub, fingerprint SHA256:tabCXnfrKhWI2+0F8vZgLqg7JtWn1Xt4ifo8o2KuPNc) restricted with from="10.0.0.2" and no forwarding.
  • 2026-11-27 (GNAI-024): zusatzlicher CT-114-restic-Key (files/ssh/ct114-restic.pub, Fingerprint SHA256:i4UFMsAmdGdi8s0pJeVnK7Ros1liEqXzJ2IghyBCBiU), restricted mit from="10.0.0.61" und no forwarding; Zielverzeichnis /var/lib/ghostnet-ai-backup/ct114 (restic-Repo der clientseitig verschluesselten Wallet-Backups aus CT 114).
  • Home /var/lib/ghostnet-ai-backup stays root-owned 0711 (traversable for sshd StrictModes, not writable); the AI backup archives written by the root gnai-ai-backup timer stay root-owned. Only lxc/ and .ssh/ belong to gn-backup.

Verified 2026-11-10: archives for CT 100/102/103/105 copied from PVE, SHA-256 match confirmed; practical restore test of the CT 100 archive to a scratch CT passed.