Sync both server snapshots with what the live machines run, and keep their backup tooling

This commit is contained in:
Gabriel Brown committed 2026-10-30 13:44:29 -04:00
1 parent 95fa480469
commit cb089b39ea
42 files changed
+3099 -21

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Manual trigger for the daily backup.
#
# The real script lives at /usr/local/sbin/server-backup and runs as ROOT via
# server-backup.service. It is kept out of ~/Server on purpose: ~/Server is
# user-writable, and a root-executed script sitting in a user-writable directory
# is an obvious footgun. Run it through systemd so a manual run behaves exactly
# like the nightly one (same environment, same logging, same lock).
#
# status: systemctl status server-backup.service
# log: tail -f ~/Server/logs/backup.log
# timer: systemctl list-timers server-backup.timer
# restore: see ~/Server/RESTORE.md
exec sudo systemctl start --wait server-backup.service