fix(ops): use REAL_HOME for backup path in verify-server.sh
Some checks failed
Some checks failed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user