latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Backups
Legacy Migration

Migrate server to new backup system

This function converts and migrates a server from the Legacy Backup system to the Backup system.

get/convert_and_migrate_from_legacy_config

Query parameters

no_convert0 | 1
Example:1

Whether to convert the server from the Legacy Backup system to the Backup system.

  • 1 — Convert.
  • 0 — Do not convert.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "convert_and_migrate_from_legacy_config",
    "reason": "Legacy Backup configuration was renamed from /etc/cpbackup.conf to /etc/cpbackup.conf-1485958451 as a backup copy for your records.",
    "result": 1,
    "version": 1
  }
}