Perspective V Docs
Change records

Production Change Record

1. Run dry-run preview for `db-backup.sh`.

Change Metadata

  • Change id: CR-2026-04-15-tier1-backup-timer-rollout
  • Date and time (UTC): 2026-04-15 20:55-20:58
  • Requester: owner
  • Approver (owner): owner
  • Executor: GitHub Copilot agent (owner-approved command execution)
  • Environment: VPS production
  • Related ticket or incident id: phase5-backup-baseline

Scope

  • Services or stacks affected: database backup operations only (runtime/stacks/infrastructure/databases scripts + systemd timer)
  • Expected impact: no direct user-facing route changes; light host I/O during backup jobs
  • User-facing risk window: minimal to none during scheduled backup runs

Risk Assessment

  • Risk level: medium
  • Main failure modes: disk pressure, credential mismatch in env, timer misconfiguration
  • Data integrity impact if failed: missing or incomplete backup artifacts

Preconditions

  • Owner approval captured.
  • Backup or rollback checkpoint confirmed.
  • Validation plan prepared.
  • Communication plan prepared.

Execution Plan

  1. Run dry-run preview for db-backup.sh.
  2. Run dry-run preview for install-tier1-backup-timer.sh.
  3. Install and enable tier1-db-backup.timer, then run one manual backup pass.

Rollback Plan

  1. Disable and stop tier1-db-backup.timer.
  2. Remove timer and service units from /etc/systemd/system/.
  3. Reload systemd daemon and confirm timer is absent.

Validation Results

  • Route validation: not applicable (no route changes)
  • Health validation: tier1-db-backup.timer active and next run scheduled (OnCalendar=hourly)
  • Auth and access validation: backup scripts read runtime env and completed backup artifacts for postgres/mysql/mongodb/mssql
  • Log and alert review: systemd timer status/list captured; manifest checksum entries verified

Evidence References

  • Evidence file: /home/repo/contabo-server-setup/tmp/backups/evidence/tier1-backup-evidence-20260415T205803Z.txt
  • Backup folder: /home/repo/contabo-server-setup/tmp/backups/tier1-20260415T205728Z
  • Manifest file: /home/repo/contabo-server-setup/tmp/backups/tier1-20260415T205728Z/manifest.csv
  • Sample checksum row: 20260415T205728Z,postgres,/home/repo/contabo-server-setup/tmp/backups/tier1-20260415T205728Z/postgres/postgres-20260415T205728Z.sql.gz,58471b1a04bcfaa606c5aa7a5888d17b35a75831a224f2efed804821b421a77a,1047

Outcome

  • Result: success
  • Start time (UTC): 2026-04-15T20:57:15Z
  • End time (UTC): 2026-04-15T20:58:03Z
  • Follow-up actions: first restore drill completed at docs/operations/restore-validations/rv-20260415t210554z-postgres-tier1.mdx; define offsite backup target
  • Owner sign-off: pending

On this page