Hosting control panel protection plan
When creating or modifying a protection plan to back up a hosting control panel, make sure that it meets the following requirements. Otherwise, granular recovery of the control panel objects will not work.
- The plan must back up the entire server or all volumes that contain control panel data.
- The plan does not contain file or path exclusion rules. Such rules can slow down dramatically the mounting and recovery operations for backups and the operations might fail with timeout errors.
- Application backup must be enabled for cPanel in the plan. See Enabling application-aware backups for WHM
Enabling application-aware backups for WHM
Starting with version 1.9.0 of the cPanel & WHM, we introduced a new, more robust, secure, and error-resistant method of metadata collection during the WHM backup process, as opposed to the legacy method by running pre-post commands. The legacy method is still supported for integrations where it is already applied or if administrators prefer to use pre-post commands.
The new method is enabled by means of a toggle in the protection plan. It is enabled by default in new individual protection plans that are created during the plugin configuration procedure. For shared protection plans, you must enable it manually - through either using the toggle or applying the legacy pre-post commands.
To enable application backups through the new metadata collection method
- In the Cyber Protect Cloud console, create a new protection plan or open an existing plan for editing.
- In the plan details page, locate the Application backup section and open the settings to review or configure.

- Scroll down the list of applications and enable the WHM toggle.

- Click OK and Save.
To enable application backups through pre-post commands
- Open the protection plan for editing and navigate to Backup options.
- Click Pre-post data capture commands.
- Set Execute a command before the data capture to Yes
- Set Command or batch file path on the machine with an agent to
/usr/lib/Acronis/BackupAndRecovery/webcpprecapture - Leave Working directory empty
- Set Arguments to {RESOURCE_ID}
- Select the Fail the backup if the command execution fails checkbox.
- Set Execute a command after the data capture to Yes
- Set Command or batch file path on the machine with an agent to
/usr/lib/Acronis/BackupAndRecovery/webcppostcapture - Leave Working directory empty.
- Set Arguments to {RESOURCE_ID}
- Select the Fail the backup if the command execution fails checkbox.

- Click Done and save the plan.
To switch from script-based metadata collection to the binary-based approach
- Open the protection plan for editing.
- Delete the pre-post commands settings.
- Enable the cPanel toggle.
- Save the plan.