diff --git a/scripts/verify-server.sh b/scripts/verify-server.sh index 5aead135..9857c304 100755 --- a/scripts/verify-server.sh +++ b/scripts/verify-server.sh @@ -288,7 +288,7 @@ if [ "$MODE" = "prod" ]; then fail "Backup timer not active — enable with: sudo systemctl enable --now orion-backup.timer" 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 pass "Recent backup found: $(basename "$LATEST_BACKUP")" else