Repository navigation
feat(sensitive): a nightly backup timer on trinity (#404, #131) - #697
Merged
Merged
Conversation
existed (#535); nothing took a set unless someone typed the command. - systemd/sensitive/homelab-backup-sensitive.{service,timer}: make backup STACK=sensitive nightly at 04:30, through run-scheduled.sh, so its outcome is backup-sensitive in the ScheduledJob* alerts (2d threshold). - install-timers.sh --profile sensitive: its own table and unit directory; units carry @DEPLOY_ROOT@/@RUN_USER@ rendered from SUDO_USER, and install refuses anywhere but ~<you>/code/Gerrrt/HomeLab. --check covers both profiles, verifies the rendered units everywhere, and fails on a job name in both tables. - validate.sh: fails on trinity until the timer is installed. - ScheduledJobStale names {{ $labels.instance }}; promtool pins the two-host join. - Docs: the stale "nothing schedules / nothing copies" lines corrected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gerrrt
force-pushed
the
gerrrt/vaultwarden-sensitive-tier-655ccb
branch
from
September 28, 2026 20:38
143f5e7 to
7dbffdf
Compare
This was referenced Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#404 step 9, the acceptance item on #131. The copy off the host already existed (#535); what was missing was anything that took a set unless someone typed the command.
What changes
systemd/sensitive/homelab-backup-sensitive.{service,timer}—make backup STACK=sensitivenightly at 04:30 (daily, not weekly: it holds the vault). Goes throughrun-scheduled.sh, so the outcome isbackup-sensitivein the existingScheduledJob*alerts, 2-day threshold.install-timers.sh --profile sensitive— its own table (SENSITIVE_JOBS) and unit directory. The units carry@DEPLOY_ROOT@/@RUN_USER@(the build runbook writes the operator as<you>), rendered fromSUDO_USER; install refuses anywhere but~<you>/code/Gerrrt/HomeLaband never primes the backup.--checkruns checks 1–4 for both profiles,systemd-analyze verifys the rendered sensitive units everywhere (CI included), checks the sensitive timer is enabled where the tier is served from the checkout (composeworking_dirlabel), and fails on a job name in both tables — the rules joinon(homelab_job)alone.make install-timers PROFILE=sensitive;validate.shfails on trinity until the timer is installed.ScheduledJobStalenames{{ $labels.instance }}instead of "the monitoring host"; a promtool case pins the two-host join.schedule-maintenance.mdsection, roadmap, changelog.Not in scope: ADR-0023's off-estate copy —
oracleshares the room and power. That is step 10.Verified
install-timers.sh --check --require-all,check_docs.py,lint.sh, shellcheck, promtoolbackup.test.yaml— all pass (yamllint not installed locally).~/code/Gerrrt/HomeLabrenders the units, writes the one threshold, enables the timer.After merge, on trinity
last_exit_code 0and the set on both sides ofARGS=--list→ close #131.Refs #404, #131
🤖 Generated with Claude Code