A JetBackup job shows as failed in WHM. The customer-facing answer is “we will fix it before the next run.” The operator-facing question is whether to wait for the next scheduled run or trigger a manual one, and that decision depends on what actually failed.
What’s happening
JetBackup jobs fail for a handful of common reasons: destination unreachable (network or auth), destination full, source account quota exceeded mid-backup, MySQL hang during dump, kernel-level IO error, JetBackup itself crashed (rare). Each has a different recovery and a different urgency.
How to verify
jetbackup5api -F getQueueItems --filter status=FAILED | head
jetbackup5api -F getQueueItem -D '{"_id":"<queue-id>"}'
tail -100 /usr/local/jetapps/usr/jetbackup5/logs/<job-name>.log
journalctl -u jetbackup5d --since '1 day ago'
df -h /backup
The queue item details usually contain the failure reason text. The log file has the operational context — what was being backed up when the failure happened, how long it ran before failing.
The fix
- Identify the failure class from the log. Network-related: “connection refused”, “timed out”. Storage-related: “no space left”, “quota exceeded”. MySQL-related: “Lost connection to MySQL server”, “got error 28”. Each has its own remediation.
- Network failures: test the destination.
jetbackup5api -F testDestination -D '{"_id":"<dest-id>"}'. If the test passes now, the failure was transient and a retry will succeed. - Storage failures: address the destination’s free space before retrying. See the dedicated KB on backup-disk-fills-up. Don’t just retry — the retry will fail the same way.
- MySQL failures: check
/var/log/mysql/error.logfor the time window. The dump may have hit a long-running query or a deadlock. Increase--single-transactionusage or run the backup at a quieter time. - After fixing the root cause, manually trigger a backup run rather than waiting for the next schedule.
jetbackup5api -F manualBackup -D '{"backup_job_id":"<id>"}'. Confirm success before declaring the issue resolved. - Document the failure in the runbook if it’s recurring. If the same destination is unreachable twice a month, the problem isn’t transient — it’s a network or auth issue that needs structural fix.
Stack Harbor monitors and triages backup failures under environment management before they cascade.