cPanel servers have 2 backup systems built in. The first is automated but is only configurable via WHM to the root user. The second is embedded into each cPanel account and is the backup method this script hooks into.
The second backup system is manual and allows a full backup of the cPanel account to be created. The cPanel server then sends the backup to either the local home directory of the account, an FTP server or an SCP server as requested.
Below is the flowchart for both the generate and backup cron jobs.
Generate Cron Job
Backup Cron Job
Note 1: The full account backup API request is sent to the cPanel server hosting the account to be backed up. It should be noted that this script only requests a backup and does not perform the actual backup. The backup is generated by the cPanel server hosting the account to be backed up. The backup may be started later than requested to maintain a balanced server load as imposed by the server owner.