cPanel WHM icon

cPanel WHM

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

Actions262

Backup → Update the system's backup configuration

AI-generated

Summary

Update the WHM system's backup configuration by setting various parameters that control backup schedules, retention, types, paths, and options for what data to back up.

Inputs

  • Additional Fields — A collection of optional parameters to configure the backup system, such as enabling daily, weekly, or monthly backups, selecting retention counts, specifying backup directories, choosing backup types (compressed, uncompressed, incremental), enabling backing up of accounts, databases, logs, and more. Each field corresponds to a specific backup behavior and setting in WHM.

Output shape

a JSON object representing the response from the WHM API for updating backup configuration, which includes confirmation or details of the updated settings

The operation sends the parameters as query string values to the WHM API's backup configuration update endpoint. It returns the raw API response data, which may include status and any error messages. There is no pagination applicable.

Examples

Example 1: Enable daily and weekly backups, set retention, and specify backup directory

Set 'Backup Daily Enable' to 1, 'Backup Weekly Enable' to 1, specify retention numbers and the backup directory path in Additional Fields

Links

Discussion