fix(ops): use REAL_HOME for backup path in verify-server.sh
Some checks failed
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / pytest (push) Has started running
CI / ruff (push) Successful in 10s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 00:34:59 +01:00
parent 8d5c8a52e6
commit a709adaee8

View File

@@ -288,7 +288,7 @@ if [ "$MODE" = "prod" ]; then
fail "Backup timer not active — enable with: sudo systemctl enable --now orion-backup.timer" fail "Backup timer not active — enable with: sudo systemctl enable --now orion-backup.timer"
fi fi
LATEST_BACKUP=$(find "$HOME/backups/orion/daily/" -name "*.sql.gz" -mtime -2 2>/dev/null | head -1) LATEST_BACKUP=$(find "$REAL_HOME/backups/orion/daily/" -name "*.sql.gz" -mtime -2 2>/dev/null | head -1)
if [ -n "$LATEST_BACKUP" ]; then if [ -n "$LATEST_BACKUP" ]; then
pass "Recent backup found: $(basename "$LATEST_BACKUP")" pass "Recent backup found: $(basename "$LATEST_BACKUP")"
else else