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

+22
View File
@@ -0,0 +1,22 @@
[Unit]
Description=Back up ~/Server to the home server
Documentation=file:///home/gib/Server/RESTORE.md
After=network-online.target
Wants=network-online.target
# The backup reads podman-managed data and shells into containers for dumps.
RequiresMountsFor=/home/gib/Media
[Service]
Type=oneshot
ExecStart=%h/Server/backup
# A stalled rsync should fail loudly, not hang until the next timer fires.
TimeoutStartSec=6h
# This box is IO-bound before it is CPU-bound (~18%% avg60 pressure), so stay
# out of the way of the containers. best-effort/7 rather than idle, which can
# starve the transfer outright when the volume is busy.
Nice=10
IOSchedulingClass=best-effort
IOSchedulingPriority=7
[Install]
WantedBy=default.target