Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -997,9 +997,8 @@ verify-backups: ## Re-verify every retained set of every kind: volume, NAS and w
backup-offsite: ## Copy the newest set of each kind to the offline medium and prove it (DEST=/path/to/the/medium)
@# The third human job with a deadline and no timer, after
@# secrets-verify-backup and certs-verify-backup, and for the same reason:
@# the destination is the medium that holds the second age recipient
@# (ADR-0048), which is off-estate by construction and visits this host
@# every ninety days to prove that key. No timer can mount it. What a
@# the destination is the offsite drive (ADR-0048, ADR-0132), kept outside
@# the house and brought back every ninety days. No timer can mount it. What a
@# timer CAN do is notice that nobody has: a successful run records
@# offsite-copy, and OffsiteCopyStale fires when that passes ninety days.
@#
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ documents for different readers.
at all. Every pinned digest is also scanned weekly for fixable HIGH and
CRITICAL CVEs, and each image with findings has an open issue until a scan
finds it clean.
- **Documented decisions and runbooks.** 131 ADRs covering what was chosen
- **Documented decisions and runbooks.** 132 ADRs covering what was chosen
and what was rejected — including the costs accepted knowingly; 56
runbooks for the operations that are easy to get wrong at 1am, one of which
is the handover page a successor reads first. Every critical alert links to
Expand Down Expand Up @@ -236,7 +236,7 @@ inbound passes may still reach it. Data flow and the maintained Mermaid topology
│ ├── architecture.md network.md hardware.md
│ ├── observability.md security.md roadmap.md changelog.md
│ ├── diagrams/ # the network diagram (SVG) and its predecessors
│ ├── adr/ # 131 ADRs — architecture decision records
│ ├── adr/ # 132 ADRs — architecture decision records
│ ├── exercises/ # purple-team exercise records — see its README
│ └── runbooks/ # 56 runbooks; successor-handover.md is the front door
└── Makefile # make help
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
> that are provably not media; the last step is the operator's, and
> [`copy-the-backups-offsite.md`](../runbooks/copy-the-backups-offsite.md)
> says so where the reader is standing.
>
> [!NOTE]
> [ADR-0132](0132-carry-the-offsite-copy-on-the-spare-drive.md) superseded
> decision 1's medium on 2026-11-24: the copy of record is now the spare
> `HOUSEHOLD` drive, which holds no key. The rest of this ADR stands.

## Context

Expand Down
74 changes: 74 additions & 0 deletions docs/adr/0132-carry-the-offsite-copy-on-the-spare-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# ADR-0132: Carry the offsite copy on the spare drive, apart from the second key

**Status:** Accepted · 2026-11 · supersedes the choice of medium in
[ADR-0048](0048-carry-the-estates-backup-sets-with-the-second-recipient.md)
decision 1. The rest of ADR-0048 stands: one copy of record, the newest set of
each kind, `make backup-offsite`, and `OffsiteCopyStale` at ninety days.

## Context

ADR-0048 put the newest backup set of each kind on the medium that holds the
second age recipient. Two of its reasons were that the medium already visited
`prometheus` every ninety days to prove that key, and that a successor would
then hold the key and the sets in one hand. It accepted one cost: *"this
medium is now the one place where the estate's ciphertext sits beside a key
that opens it."*

Both reasons have gone:

- **The key medium no longer has a reason to visit.**
[ADR-0120](0120-drop-the-age-key-proof-deadline.md) dropped the age-key
proof deadline, so the offsite copy was the only remaining reason to bring
that medium here. A carrier that comes only for the copy is not riding an
existing visit.
- **A spare drive exists.** The 5 TB WD drive labelled `HOUSEHOLD` was bought
for the household copy, and has been spare since
[ADR-0122](0122-drop-the-household-copy.md) dropped that copy on
2026-11-21 ([`hardware.md`](../hardware.md)).

On 2026-11-24 the copy was 62 days old, against a ninety-day deadline. The
operator plugged the spare drive into `prometheus` and chose it to carry the
copy from now on.

## Decision

**The offsite copy of record is the spare `HOUSEHOLD` drive. It holds no key.**
`make backup-offsite DEST=<the drive's mount>` writes to it unchanged: the same
layout, the same proofs, the same `offsite-copy` record and ninety-day
`OffsiteCopyStale`. The operator keeps the drive outside the house between
Comment thread
Gerrrt marked this conversation as resolved.
Resolved
visits. Its location is not written in this repository, for the reason the
key medium's location is not.

The first copy to it was made on 2026-11-24.

## Alternatives considered

- **Keep the key medium as the carrier** (ADR-0048 as written). Declined by
the operator. It puts ciphertext beside the key, and it now makes the key
medium visit only for the copy.
- **Copy to both.** Declined, for ADR-0048's own reason: `run-scheduled.sh`
writes one timestamp per job, so two media would share one proof, and the
alert would vouch for whichever copy was not just made.

## Consequences

- **The sets and a key that opens them are now apart.** The drive alone opens
nothing. A restore after losing the house needs the drive and one of the two
age keys: the second recipient's medium, held off the estate, or the
operator's offline copy of the first key. Losing the drive loses only
ciphertext. That reverses the cost ADR-0048 accepted. The new cost: a
successor needs two things, not one, and
[`successor-handover.md`](../runbooks/successor-handover.md) says so.
- **The script cannot check that the drive leaves the house.** It reports as
fixed, not removable, so every run prints the warning
[`copy-the-backups-offsite.md`](../runbooks/copy-the-backups-offsite.md)
describes. That is expected for this drive. Carrying it out is the
operator's step, as ADR-0048's note already said.
- **The copy on the key medium is no longer of record.** Nothing reads it, and
it stops being refreshed. Its holder may delete its `backups/` directory, or
leave it as an older copy nothing vouches for.
- **The drive still carries the household rehearsal of 2026-10-01**
(`household/`, `tools/` and two text files). It is left as it was, beside
`backups/`, and is not part of the copy.
- **Reopen if** the drive is lost or fails its re-verify, or the key medium
starts visiting again for a reason of its own.
10 changes: 10 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,16 @@ docstring gives: it is a record, not a claim about now.
closes the `mjolnir` audit: every finding is fixed and verified, decided,
or tracked in #1731.

- **The offsite copy moved to the spare drive
([ADR-0132](adr/0132-carry-the-offsite-copy-on-the-spare-drive.md)).** The
5 TB WD drive labelled `HOUSEHOLD`, spare since ADR-0122, now carries the
newest backup set of each kind in place of the second age recipient's
medium. It holds no key, so the sets and a key that opens them are no
longer on one medium. The first copy to it ran on 2026-11-24 and proved
every set: observability `20261122T033021Z`, NAS `20261123T200914Z`, wiki
`20261124T044752Z` and firewall `config-20261124T044012Z`. That reset
`offsite-copy`, which was 62 days old.

## 2026-11-23

- **NUT's driver on `morpheus` retries for 14 seconds, not 6.** The *data
Expand Down
9 changes: 4 additions & 5 deletions docs/hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -1256,12 +1256,11 @@ the runbook rather than backed up.
required and
[ADR-0073](adr/0073-carry-the-household-copy-on-a-drive-the-holder-keeps.md)
built. It reads as `WDC WD50NDZW-11BCSS0`, 4.5 TiB, one GPT partition,
exFAT, labelled `HOUSEHOLD`, and held only a rehearsal. **No longer used
for this, and spare.**
exFAT, labelled `HOUSEHOLD`, and held only a rehearsal.
[ADR-0122](adr/0122-drop-the-household-copy.md) dropped the household copy
on 2026-11-21. It is not the estate's offsite medium either: that is the
second age recipient's
([ADR-0048](adr/0048-carry-the-estates-backup-sets-with-the-second-recipient.md)).
on 2026-11-21. **Since 2026-11-24 it is the estate's offsite medium**
([ADR-0132](adr/0132-carry-the-offsite-copy-on-the-spare-drive.md)): the newest backup set of each kind, and no key. It is kept
outside the house between visits, and still carries that rehearsal.
Its cable is USB 3.0 Micro-B at the drive end, and stays with it.
- ViewSonic N1700W LCD, used as a rack console via the KVM
- RJ45 Cat6 in-line couplers[^Couplers]
Expand Down
4 changes: 2 additions & 2 deletions docs/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ argument and for what to do when it exits 1.
| `watchdog.rules.yaml` | One rule that always fires, so that its absence is detectable |
| `blackbox.rules.yaml` | Whether an endpoint can actually be reached, from outside the service, and how many days its certificate has left — the sensitive tier's seven-day ACME leaves excepted, which an hours pair watches for a stalled renewal instead — `TlsAcmeRenewalLate` at 48h, `TlsAcmeRenewalStalled` at 36h ([#426](https://github.com/Gerrrt/HomeLab/issues/426)) — Grafana and the wiki verified against the lab CA ([#847](https://github.com/Gerrrt/HomeLab/issues/847)), the APC card's verified against the same CA since 2026-11-24, Prometheus, Loki and Alertmanager over plain http (the switch UI's probes were removed on 2026-09-06, `targets/blackbox.yaml`), each of the household sites behind `trinity`'s Caddy, verified against the tier's root, paging as `SiteDown` after ten minutes so a `make up` restart does not ([#855](https://github.com/Gerrrt/HomeLab/issues/855)), and — the other way round — that the ingest proxy on `10.0.99.20:9090` and `:3100` still refuses a request with no token (`IngestAuthNotEnforced`, [#182](https://github.com/Gerrrt/HomeLab/issues/182)). `EeroUnreachable` is a warning for an eero unit that has not answered ping for five minutes, from the `blackbox-eero` job, through one Winterfell pass in force since 2026-11-11 ([#1228](https://github.com/Gerrrt/HomeLab/issues/1228), [ADR-0112](adr/0112-probe-the-eeros-by-icmp-from-prometheus.md)). The iLO and pfSense UIs are written into `targets/blackbox.yaml` and left disabled: each needs a firewall pass from `10.0.99.20` that is a segmentation decision, not a monitoring one ([#91](https://github.com/Gerrrt/HomeLab/issues/91)). Their certificates' expiry is watched without that pass, from `host.rules.yaml` ([#857](https://github.com/Gerrrt/HomeLab/issues/857)) |
| `dns.rules.yaml` | Whether the house is still filtering DNS, asked directly at AdGuard Home on port 53 rather than through pfSense. Since [ADR-0055](adr/0055-forward-to-adguard-alone.md) AdGuard is the only forwarder, so `AdGuardNotAnswering` is **critical** at five minutes: the house cannot resolve outside names. `AdGuardNotFiltering` stays a warning, because a filter that fails open is a convenience lost, not an outage. The targets in `targets/blackbox-dns.yaml` are live since 2026-09-28, against AdGuard on `trinity` ([#126](https://github.com/Gerrrt/HomeLab/issues/126), [#404](https://github.com/Gerrrt/HomeLab/issues/404)) |
| `backup.rules.yaml` | Whether the scheduled maintenance jobs are still being run at all — staleness, failure, never-ran, and the page: `ScheduledJobStaleCritical` at three of a job's own periods and never under a day, because the warning reaches only the in-house channel and a backup that stopped in week one was otherwise a notification repeating on the same network for as long as nobody acted (2026-10-14) — whether the CA key's offline copy has been proved lately ([#496](https://github.com/Gerrrt/HomeLab/issues/496)), and whether the newest backup sets have been carried onto the second recipient's medium within ninety days ([ADR-0048](adr/0048-carry-the-estates-backup-sets-with-the-second-recipient.md)) |
| `backup.rules.yaml` | Whether the scheduled maintenance jobs are still being run at all — staleness, failure, never-ran, and the page: `ScheduledJobStaleCritical` at three of a job's own periods and never under a day, because the warning reaches only the in-house channel and a backup that stopped in week one was otherwise a notification repeating on the same network for as long as nobody acted (2026-10-14) — whether the CA key's offline copy has been proved lately ([#496](https://github.com/Gerrrt/HomeLab/issues/496)), and whether the newest backup sets have been carried onto the offsite drive within ninety days ([ADR-0048](adr/0048-carry-the-estates-backup-sets-with-the-second-recipient.md), [ADR-0132](adr/0132-carry-the-offsite-copy-on-the-spare-drive.md)) |
| `deploy.rules.yaml` | Whether each host that pulls — `prometheus` and `trinity` ([#533](https://github.com/Gerrrt/HomeLab/issues/533)) — is running what the repository says: an uncommitted edit made on the host, a revision that did not verify, and how far behind `main` it is, and a host whose record stopped arriving. Reads the record `scripts/converge.sh` writes hourly ([#99](https://github.com/Gerrrt/HomeLab/issues/99), [ADR-0021](adr/0021-converge-on-a-timer-instead-of-deploying-over-ssh.md)). Also whether convergence had to start a stack service that something stopped — `DeployServiceRevived` — and whether one has been left stopped for two hours, held or under a backup — `DeployServicesStopped` ([ADR-0087](adr/0087-start-a-stopped-stack-service-from-the-converge-timer.md)) |
| `internet.rules.yaml` | Why the internet is slow ([#914](https://github.com/Gerrrt/HomeLab/issues/914)): three scheduled speed tests in a row under 400 Mbit/s down or 100 up, the WAN held above 85% of what it can carry, frames arriving corrupted on the WAN port — `WanReceiveErrors`, the fault found the day these were written, when a cable between the XB7 and `morpheus` cut downloads to ~2 Mbit/s — and `speedtest-tracker` itself going quiet or unreachable. Also records `homelab_wan_bits_per_second` from pf's own em0 counters. Download thresholds are against the ~940 Mbit/s the 1000baseT WAN port can carry, not the plan's 2000. `speedtest-tracker` is left out of `InstanceDown`, so its outage is a warning and not a page |
| `range.rules.yaml` | The range host `gandalf`'s own controls, now that it stays on ([ADR-0126](adr/0126-monitor-gandalf-now-that-it-stays-on.md), [#1651](https://github.com/Gerrrt/HomeLab/issues/1651)): the `vmbr1_host_in` ingress barrier, `vmbr0` forwarding and `sshd` forwarding being off (`build-the-playground.md` §2, §4), and the attack-VM stop timer (ADR-0125) — read by `scripts/collect-range-state.sh`. `PveFirewallZeroRules` is here too: the firewall collector exports the rule count but no other rule reads it |
Expand Down Expand Up @@ -1030,7 +1030,7 @@ that cannot be automated, because each needs a human to mount removable media:
[ADR-0120](adr/0120-drop-the-age-key-proof-deadline.md), and since
[ADR-0048](adr/0048-carry-the-estates-backup-sets-with-the-second-recipient.md) `backup-offsite`
for the sets themselves, which carries the newest of each kind onto the
second recipient's medium and hashes it there. `OffsiteCopyStale` nags at
offsite drive and hashes it there ([ADR-0132](adr/0132-carry-the-offsite-copy-on-the-spare-drive.md)). `OffsiteCopyStale` nags at
ninety days instead. `trinity` has no such job: its household copy and
`HouseholdCopyStale` went with
[ADR-0122](adr/0122-drop-the-household-copy.md). Three outputs leave: `backup-firewall` copies each export
Expand Down
6 changes: 3 additions & 3 deletions docs/runbooks/build-the-nas.md
Original file line number Diff line number Diff line change
Expand Up @@ -2289,9 +2289,9 @@ measured.
`smaug`, onto the monitoring host and onto `oracle`, and every one of those
copies is on the same shelf under the same roof — the position the volume
sets and the firewall export are in. [ADR-0048](../adr/0048-carry-the-estates-backup-sets-with-the-second-recipient.md)
sends the newest of each beyond it, on the second age recipient's medium,
by [`copy-the-backups-offsite.md`](copy-the-backups-offsite.md); what is left is
the first visit, which is [#573](https://github.com/Gerrrt/HomeLab/issues/573)'s last box.
sends the newest of each beyond it, on the offsite drive since
[ADR-0132](../adr/0132-carry-the-offsite-copy-on-the-spare-drive.md), by
[`copy-the-backups-offsite.md`](copy-the-backups-offsite.md).
- **SMART runs**, since §6.4 was done on 2026-09-21; and
**patch state is decided and will not run**, by
[ADR-0047](../adr/0047-collect-smaug-smart-through-a-root-cron-and-the-textfile-collector.md),
Expand Down
Loading