Harden Backrest CLI endpoint and restore recipes #226
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:electra
host:fleet
host:lyra
host:nova
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#226
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Phase 4 backup-runbook verification found that the repository's interactive restic recipes do not fully match the declared Backrest service and recovery requirements.
modules/services/backrest.nixusesmass-storage.mesh:8008, whilejustfiles/maintenance.justhard-codes192.168.8.238:8008for everybackup-*restic recipe. The daemon and operator commands can therefore have different reachability, especially away from the LAN.just backup-restoretargets/with--overwrite alwaysbut invokesrestic restoreas the ordinary caller. Current plans contain root-owned service state as well as home data, so a disaster restore can partially write user-owned paths and then fail on privileged paths.backup-restore-pathcreates its target before running restic and refuses any existing target. A failed restore leaves a directory that must be handled explicitly before retry, but the helper gives no completion marker or cleanup guidance.Scope
Acceptance criteria
Discovered while executing wiki issue #222 against source commit
556df88494.