Skip to content

Make Talos-first installation and Restic recovery the default - #515

Merged
edgard merged 1 commit into
masterfrom
codex-steady-state-storage-recovery
Nov 21, 2026
Merged

edgard merged 1 commit into
masterfrom
codex-steady-state-storage-recovery

Conversation

@edgard

@edgard edgard commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Retire the TrueNAS source tooling, snapshot-copy role, migration playbooks and tasks, and one-time operator runbook. Pool enrollment uses the numeric GUID and four physical member partition UUIDs. Routine Talos and platform operations use current device, mount and binding identities.
  • Document and support a new empty installation, recovery using existing etcd/PV records, and rebuilding appdata with fresh OpenEBS claims before GitOps starts writers. Restic records the verified destination after a successful file restore. SparkyFitness requires an independently verified native PostgreSQL restore.
  • Accept explicit per-namespace snapshot pins at the ordinary restore-all Task entry point. Track the storage inspection image and stable upstream Talos installer-base tags. Keep node release changes under manual review.

Validation

  • task fmt, task test -- validation/test_wiki.py, git diff --check, and task check passed. The gate rendered 42 apps, checked 63 raw manifests and ran 27 offline tests. The one added permanent test prevents accepting file-only recovery when the backup excludes PostgreSQL data.
  • Ran a production read-only preview with exact snapshot pins. Confirmed that the current three namespace backups cover all 17 appdata claims, including separately recoverable SparkyFitness. Extracted a file from each branch. The normal restore Job recovered four full subtrees to a disposable CSI volume, verified content, deleted stale files and rejected an incorrect dataset. Removed the scratch PVC, PV and CSI dataset.
  • Independently restored the scheduled PostgreSQL SQL-and-uploads archive in isolation. Three SQLite databases passed integrity checks with their matching journals. Four sample files matched independent offsite reads. All application PVs stayed online.
  • On an isolated Talos guest, exercised the public in-place restore transaction with real Kubernetes controllers and OpenEBS. Verified preview, exclusive lock, suspension, restored bytes, PVC identity and resumption. An incorrect repository ID preserved the failed Job and lock and kept writers paused. Exercised pre-Argo cold recovery, verified its held checkpoint and rejected a wrong UID, active writer and nonempty destination.
  • On Talos 1.14.6 with synthetic data disks, verified first release, reboot and repeat with no changes. Wrong pool, duplicate disk, foreign member, system SSD and invalid properties all failed the guard. Tested empty-site admission against an empty and a populated claim.
  • A local Renovate extraction found the Factory installer, matching release pin, Restic image and BusyBox tag and digest. Disposable fixtures were kept outside the repository.

Wiki review

Updated the README, Talos/bootstrap, GitOps, storage, backup and recovery, validation, and the affected application and decision pages. Checked the index, source catalog and log. November’s semantic review is already recorded.

@edgard
edgard merged commit 09ff984 into master Nov 21, 2026
4 checks passed
@edgard
edgard deleted the codex-steady-state-storage-recovery branch November 21, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant