This function restores an account backup.
You can use this function to restore daily, weekly, or monthly backups.
On servers with a custom
In cPanel & WHM version 11.50 and earlier, this function returned data after the restoration process completed. However, we changed this behavior in version 11.52 so that the function reports that it found the backup file and will attempt to restore it. Then, the function performs the restoration asynchronously in the background. We made this change to resolve issues from restorations that ran for very long times or crashed before they completed.
If you use this function to restore legacy backups to accounts, use the
You must include at least one of the
The account's username.
|A valid username.|
The type of backup to restore.
The function restores the most recent backup of the type that you specify.
Whether to create the account before restoration.
|Boolean||Whether to assign a dedicated IP address to the restored account.|
Whether to restore account-level filters (vfilters) and forwarders (valiases).
Whether to restore the account's MySQL® databases.
Whether to restore the account's subdomains.
This function only returns metadata.
The function's metadata includes a long
About WHM API 1
Find a function