Skip to content

docs(adr): carry the offsite copy on the spare drive (ADR-0132) - #1737

Merged
Gerrrt merged 3 commits into
mainfrom
docs/offsite-on-the-spare-drive
Nov 25, 2026
Merged

Gerrrt merged 3 commits into
mainfrom
docs/offsite-on-the-spare-drive

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 25, 2026

Copy link
Copy Markdown
Owner

What changed

ADR-0132 makes the spare 5 TB WD drive labelled HOUSEHOLD the offsite copy of record, in place of the second age recipient's medium. It supersedes only ADR-0048's choice of medium. The first copy to the drive ran on 2026-11-24 and reset offsite-copy, which was 62 days old. Every current-state document that named the old medium now names the drive.

Why

ADR-0048 put the sets on the key medium because that medium already visited every ninety days to prove its key. ADR-0120 removed that deadline, so the copy was the medium's only reason to visit. The HOUSEHOLD drive has been spare since ADR-0122. The operator chose it. A side effect improves things: the drive holds no key, so the ciphertext no longer sits beside a key that opens it.

Blast radius

Docs, one ADR and a Makefile comment. No script, rule or config changes. backup-offsite.sh already accepted the drive, and its only reaction is the "does not report as removable media" warning, which the runbook now says to expect for this drive. The drive's location is not written anywhere.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • make backup-offsite DEST=<the drive> ARGS=--list showed nothing on the drive yet. Then make backup-offsite DEST=<the drive> ran, exit 0 in 67 s: observability 20261122T033021Z, NAS 20261123T200914Z and wiki 20261124T044752Z each hash to their MANIFEST entries, and firewall config-20261124T044012Z is byte-identical with its sha256 recorded.

  • Prometheus reads homelab_job_last_success_timestamp_seconds{homelab_job="offsite-copy"} = 1795564705 with exit code 0. No OffsiteCopyStale or ScheduledJob* alert is firing.

  • scripts/check_docs.py: OK, after adding the forward note on ADR-0048 that ADR-0115 asks for.

  • scripts/lint.sh: passed.

  • make validate passes — not run locally; CI runs it

  • Deployed to the lab and confirmed working — the copy is made and recorded

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

The spare HOUSEHOLD drive replaces the second age recipient's medium as
the offsite copy of record. ADR-0120 left the key medium no reason to
visit but the copy, and the drive holds no key, so the sets and a key
that opens them are no longer on one medium. First copy made 2026-11-24.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 25, 2026 00:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The alert, its expected test text, and operational documentation still name the retired offsite medium, risking a reset of the shared timestamp while the HOUSEHOLD drive remains stale.

2 open issues
What changed in this PR

This PR designates the spare HOUSEHOLD drive as the estate’s offsite backup copy of record, replacing the second age recipient’s medium. It separates the maintained backup copy from its decryption keys while retaining the existing copy command and ninety-day freshness check.

Changes:

  • Adds ADR-0132 and records the first verified copy to the drive.
  • Updates backup, recovery, handover and hardware documentation for the new medium.
  • Adds ADR-0048’s forward note, increments the ADR count and updates a Makefile comment; executable behavior is unchanged.
File Description
README.md Updates the ADR count to 132.
Makefile Updates only the offsite destination comment.
docs/​runbooks/​successor-handover.md Explains that recovery requires the drive and a separate key.
docs/​runbooks/​schedule-maintenance.md Updates the introductory offsite-copy guidance.
docs/​runbooks/​restore-the-stack.md Names the drive as the offsite recovery source.
docs/​runbooks/​restore-the-firewall.md Updates the offsite firewall-export source.
docs/​runbooks/​copy-the-backups-offsite.md Revises drive requirements, recovery guidance and expected warnings.
docs/​runbooks/​build-the-nas.md Updates the NAS offsite-copy reference.
docs/​observability.md Updates the scheduled-copy description.
docs/​hardware.md Records the spare drive’s new offsite role.
docs/​changelog.md Records the medium change and first verified copy.
docs/​adr/​0132-carry-the-offsite-copy-on-the-spare-drive.md Documents the decision, alternatives and consequences.
docs/​adr/​0048-carry-the-estates-backup-sets-with-the-second-recipient.md Adds a forward note linking to ADR-0132.

Review effort: Balanced

Comment thread docs/runbooks/successor-handover.md Resolved
@Gerrrt
Gerrrt enabled auto-merge (squash) November 25, 2026 00:11
Gerrrt and others added 2 commits November 25, 2026 00:14
…rive

The alert's description, its test, the rule-file header, security.md's
residual, observability.md's backup row and schedule-maintenance.md's
OffsiteCopyStale row still sent the operator to the second recipient's
medium. They now name the offsite drive (ADR-0132). security.md keeps
the old disclosure delta for the key medium, which may still hold the
older sets. Review on #1737.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit ba53bfb into main Nov 25, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the docs/offsite-on-the-spare-drive branch November 25, 2026 00:26
Gerrrt added a commit that referenced this pull request Nov 25, 2026
main took ADR-0132 for the offsite copy (#1737), so this branch's two ADRs
move to ADR-0133 (TrueNAS Connect) and ADR-0134 (bilbo read-only), with every
reference this branch added. README's count is 134.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants