cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Backup → Restore user account from backup

AI-generated

Summary

Restore a cPanel user account from a specified backup restore point using WHM's backup restore queue.

Inputs

  • Restore Point (required) — The date of the backup to use, in YYYY-MM-DD format.
  • User (required) — The cPanel account's username to restore.
  • Additional Fields — Optional parameters for the restore operation, including destination ID (destid), whether to assign a dedicated IP (give_ip), whether to restore email configuration (mail_config), MySQL databases (mysql), and subdomains (subdomains).

Output shape

A JSON object with the response from the WHM backup restore queue add task API call indicating the status and details of the restore request.

The output contains the API response confirming the task has been added to the restore queue. Optional fields control aspects of the restoration but defaults are applied if omitted. No pagination or multiple records are involved; the operation enqueues a single restore task.

Links

Discussion