cPanel Backups API

The Backups module for WHM API 1.

GitHub OpenAPI
Business capability
Disaster Recovery & Resilience BC-4220.60

Operations 27

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /backup_config_get Get the backup configuration · Return backup configuration file data #
Ask an LLM
“What backup destinations and retention settings are configured on my server?”
“Can I see the daily, weekly and monthly backup schedule?”
Tell an agent
Show the current backup configuration.
Get the server's backup schedule and retention settings.
GET /backup_config_set Update the backup configuration · Update the system's backup configuration #
Ask an LLM
“How do I change the daily backup retention from 3 to 7 days?”
“Can I turn off monthly backups but keep weekly and daily ones?”
Tell an agent
Set daily backup retention to {backup_daily_retention} days.
Disable monthly backups by setting backup_monthly_enable to {backup_monthly_enable}.
GET /backup_date_list List dates with backup files · Return dates where backup files exist #
Ask an LLM
“On which dates do backup files exist?”
“When were backups last run on my server?”
Tell an agent
List the dates where backup files exist.
Show the backup history for my server.
GET /backup_destination_add Add a backup destination · Add a backup destination #
Ask an LLM
“How do I add a new backup destination for my server?”
“Can I add a Google Drive destination for backups?”
Tell an agent
Add a {type} backup destination named {name} with host {host}.
Create a {type} backup destination {name} using {authtype} authentication.
GET /backup_destination_delete Delete a backup destination · Delete a backup destination #
Ask an LLM
“How do I remove a backup destination I no longer use?”
“Can I delete a backup destination by its ID?”
Tell an agent destructive · confirm first
Delete backup destination {id}.
Remove the backup destination with ID {id}.
GET /backup_destination_get Get a backup destination's settings · Return a backup destination's settings #
Ask an LLM
“What settings does a specific backup destination have?”
“Can I view one backup destination's configuration?”
Tell an agent
Show backup destination {id}.
Get the configuration of backup destination {id}.
GET /backup_destination_list List backup destinations · Return a list of backup destinations #
Ask an LLM
“Which backup destinations are configured on my server?”
“What destinations are available for backups?”
Tell an agent
List all backup destinations.
Show every backup destination configured on the server.
POST /backup_destination_set Update a backup destination · Update backup destination settings #
Ask an LLM
“How do I change my backup destination settings?”
“Can I edit the settings of a backup location?”
Tell an agent
Update the backup destination settings.
Change the settings of my backup location.
GET /backup_destination_validate Validate a backup destination · Validate a backup destination #
Ask an LLM
“How do I test that a backup destination works before using it?”
“Can I validate a backup destination and disable it on failure?”
Tell an agent
Validate backup destination {id} and disable it on failure.
Test backup destination {id} with disableonfail set to {disableonfail}.
GET /backup_does_client_id_have_google_credentials Check Google Drive credentials · Return Google Drive™ client ID credentials #
Ask an LLM
“Does a Google Drive client ID have credentials?”
“Can I verify a Google Drive client ID before adding it as a destination?”
Tell an agent
Check whether Google Drive client ID {client_id} has credentials.
Verify the credentials for Google Drive client ID {client_id}.
GET /backup_generate_google_oauth_uri Generate a Google Drive OAuth redirect URI · Create Google Drive™ OAuth redirect URI #
Ask an LLM
“How do I generate a Google Drive OAuth redirect URI for a client ID and secret?”
“Can I create an OAuth URI for Google Drive backup authentication?”
Tell an agent
Generate a Google Drive OAuth redirect URI for client ID {client_id} and secret {client_secret}.
Create an OAuth redirect URI for Google Drive client {client_id} with secret {client_secret}.
GET /backup_get_transport_status Get backup transport event status · Return backup transport events' status #
Ask an LLM
“Which backup transport events are still running?”
“Can I check the status of a specific backup transport?”
Tell an agent
Show the status of backup transport {transport_id}.
Check whether backup transport {transport_id} has completed.
GET /backup_list_transported List backup files sent through a transport · Return backup files sent through transport #
Ask an LLM
“Which backup files were sent through a particular transport?”
“Can I see what a backup transport uploaded?”
Tell an agent
List backup files sent through transport {transport}.
Show the backup files uploaded by transport {transport}.
GET /backup_set_list List local backup files · Return backup files in the local disk #
Ask an LLM
“What backup files are stored on the local disk?”
“Which account backups exist locally?”
Tell an agent
List the backup files on the local disk.
Show locally stored account backups.
GET /backup_set_list_combined List local and remote backup files · Return backup files for the server's accounts #
Ask an LLM
“Can I see both local and remote backup files in one list?”
“What backup files exist for my accounts overall?”
Tell an agent
List all local and remote backup files for the server's accounts.
Show combined backup files for every account.
GET /backup_skip_users_all Enable or disable backups for all users · Enable or disable backups #
Ask an LLM
“How do I turn off backups for every user at once?”
“Can I disable legacy backups for all users?”
Tell an agent
Set {backupversion} backups for all users to {state}.
Disable {backupversion} backups for every user by setting state {state}.
GET /backup_skip_users_all_status Check the backup status of each user · Return backup configuration status #
Ask an LLM
“What is the backup status for each user while skipping users runs?”
“Which user accounts have backup configuration checked?”
Tell an agent
Show the backup configuration status for all users.
Check the backup skip status of every user.
GET /backup_user_list List users with backups on a date · Return users with a backup file #
Ask an LLM
“Which users had a backup on a given date?”
“Can I see who was backed up on a specific restore point?”
Tell an agent
List users with backups on {restore_point}.
Show which accounts were backed up on {restore_point}.
GET /convert_and_migrate_from_legacy_config Migrate to the new backup system · Migrate server to new backup system #
Ask an LLM
“How do I convert my server from the Legacy Backup system to the new backup system?”
“Can I skip the conversion step when migrating to the new backup system?”
Tell an agent
Convert the server from Legacy Backup to the new backup system.
Migrate the server to the new backup system with no_convert set to {no_convert}.
GET /fetch_pkgacct_master_log Get a background pkgacct session log · Return start_background_pkgacct session log file #
Ask an LLM
“How do I read the master log of a background pkgacct session?”
“Can I fetch the master log for a pkgacct session by its ID?”
Tell an agent
Fetch the master log for background pkgacct session {session_id}.
Show the master log of pkgacct session {session_id}.
GET /get_pkgacct_session_state Check a background account backup session · Return start_background_pkgacct session state #
Ask an LLM
“Has my background account backup finished yet?”
“Can I check the state of a pkgacct session by its ID?”
Tell an agent
Check the state of pkgacct session {session_id}.
Tell me whether backup session {session_id} is done.
GET /get_users_and_domains_with_backup_metadata List users and domains with backup metadata · Return users and domains with backup metadata #
Ask an LLM
“Which users have backup metadata recorded for them?”
“Can I see every domain that has backup metadata?”
Tell an agent
List all users and their domains with backup metadata.
Show me every domain that has backup metadata.
GET /get_users_with_backup_metadata List users with backup metadata · Return users with backup metadata #
Ask an LLM
“Which cPanel accounts have backup metadata?”
“Can I get just the usernames with backup metadata?”
Tell an agent
List users with backup metadata.
Show me the usernames that have backup metadata.
GET /list_cparchive_files List available cparchive backup files · Return cparchive files list #
Ask an LLM
“Where are my cPanel backup archives stored?”
“Can I list all cpmove and backup tarballs on the server?”
Tell an agent
List all cparchive files on the server.
Find the cpmove archives for user accounts.
GET /start_background_pkgacct Back up a cPanel account in the background · Back up an account using the pkgacct script #
Ask an LLM
“How do I back up a cPanel account without logging in?”
“Can I skip the home directory or databases when backing up an account?”
Tell an agent
Back up account {user} in the background.
Back up {user} with compression {compressionsetting}, skipping databases {skipacctdb}.
GET /start_local_cpmove_restore Restore a cPanel account from a cpmove archive · Restore one cPanel account from a backup #
Ask an LLM
“How do I restore a cPanel account from a cpmove tarball?”
“Can I overwrite an existing account or delete the archive after restoring?”
Tell an agent
Restore account {username} from cpmove archive {cpmovepath}.
Restore {cpmovepath} to {username} with overwrite {overwrite}.
GET /toggle_user_backup_state Enable or disable legacy backups for a user · Enable or disable legacy backups #
Ask an LLM
“How do I switch a user back to the legacy backup system?”
“Can I turn off legacy backups for an account?”
Tell an agent
Toggle legacy backups for user {user}.
Set legacy backups to {legacy} for {user}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cpanel:cpanel-backups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cpanel-backups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: cs@cpanel.net
    name: WebPros International, LLC
    url: https://cpanel.net/support/
  description: WHM API.
  license:
    name: cPanel License
    url: https://cpanel.net/legal-notices/
  termsOfService: https://cpanel.net/legal-notices/
  title: WHM Backups API
  version: 11.137.9999.106
  x-api-evangelist-provenance: 'Harvested verbatim from cPanel''s developer portal on 2026-09-05 via the MCP tool get-full-api-description at https://api.docs.cpanel.net/mcp. ONE mechanical change was made before storage: example values containing PEM private-key or certificate blocks, and AWS-access-key-shaped example strings, were replaced with REDACTED_* placeholders so the file can be stored in a public git repository without tripping secret scanning. No path, operation, parameter, schema or description was altered, added or removed.'
servers:
- description: A server running WHM.
  url: https://{host}:{port}/json-api
  variables:
    host:
      default: whm-server.tld
      description: The hostname of a server running WHM.
    port:
      default: '2087'
      description: The WHM port.
security:
- BasicAuth: []
tags:


# --- truncated at 32 KB (207 KB total) ---
# Full source: https://artifacts.apis.io/cpanel/openapi/cpanel-backups-api-openapi.yml