A single site on a shared cPanel server got wiped, defaced, or rolled back to a bad plugin update, and the operator wants the account restored without disturbing the other tenants on the box. The full-server restore option is the wrong tool — and the per-file restore is too slow if the whole account needs to come back.
What’s happening
JetBackup exposes three different restore scopes from the WHM side: full backup restore, account-level restore, and file/database restore. Account-level is what you want here. It rebuilds the cPanel user, home directory, MySQL databases, mail, DNS zone, and cron table from the chosen restore point. Other accounts on the server are untouched.
The common mistake is doing this from the cPanel user side (per-account JetBackup) when the home directory still exists but is corrupted. That path can refuse to overwrite an existing account cleanly. The WHM-side restore handles the existing-account case.
How to verify
Before restoring, confirm the backup you intend to use is real and complete:
# List backup jobs and their last successful run
jetbackup5api -F getBackupJobs
# Inspect available restore points for the target account
jetbackup5api -F getRestorePoints -D '{"account":"acmewp"}'
# Confirm the backup contains both home dir and databases
jetbackup5api -F getRestoreItems -D '{"snapshot_id":"<id>","account":"acmewp"}'
You want to see Home Directory, MySQL Databases, and DNS Zones present. If MySQL Databases is absent, the snapshot is filesystem-only — the restored account will not have a working WordPress.
The fix
From WHM, navigate to JetBackup 5 → Restore → Accounts, locate the account, pick the snapshot you verified above, and select the items to restore. For a clean rollback, restore all account components from the same snapshot, not a mix-and-match.
After the job completes, three checks before declaring done:
- Log in to the cPanel account and verify the home directory size matches the snapshot.
- Open
/usr/local/jetapps/var/jetbackup/logs/restore-<job-id>.logand confirm zero database import errors. - Hit the site, log in to wp-admin, and exercise one write path (publish a draft, then delete it).
If the database import logged warnings about collation or character set, the site will render but searches and some plugins will silently misbehave. Fix collation now, not in three weeks when a customer reports broken accents.
Stack Harbor runs JetBackup restore drills as part of our environment management practice. If you need a second pair of eyes on a recovery in progress, contact our on-call team.