You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make the backupRun script path configurable (HOMELAB_BACKUP_SCRIPT) #130
homelab_backupRun always runs /opt/backup/backup.sh, while the compose dir, compose files, backup repo, ports and slugs are all configurable per node through HOMELAB_* settings.
Read setting(args.node, "HOMELAB_BACKUP_SCRIPT", "/opt/backup/backup.sh"), require an absolute path made of safe characters (reject anything else with a clear error), quote it in the command, and document it next to HOMELAB_BACKUP_REPO in mcp-server/README.md and .env.example.
Who benefits
Nodes whose backup script lives elsewhere (a NAS, or a wrapper used by a systemd timer).
Acceptance criteria
Per-node script path works and is covered by a command test.
Fixed in c5443cc. homelab_backupRun reads HOMELAB_BACKUP_SCRIPT via nodeSetting() (default /opt/backup/backup.sh), rejects anything but an absolute safe-character path, quotes it, and names the setting in the not-found message. Documented in mcp-server/README.md and .env.example. Verified with handler tests for a per-node path and a rejected value (421 passing).
Activity
TMHSDigital commentedon Nov 18, 2026
Fixed in c5443cc.
homelab_backupRunreadsHOMELAB_BACKUP_SCRIPTvianodeSetting()(default/opt/backup/backup.sh), rejects anything but an absolute safe-character path, quotes it, and names the setting in the not-found message. Documented in mcp-server/README.md and .env.example. Verified with handler tests for a per-node path and a rejected value (421 passing).