# Return cPanel account backups

This function returns one entry for each cPanel account backup archive
in the current cPanel account's home directory.

Note:
The function derives each archive's status from the on-disk marker file
that cPanel writes while a backup runs. It is the single source of truth
for the list of available backups.

Endpoint: GET /BackupInfo/list
Version: 11.138.0.19
Security: BasicAuth

## Response 200 fields (application/json):

  - `apiversion` (integer)
    The version of the API.
    Example: 3

  - `func` (string)
    The name of the method called.
    Example: "list"

  - `module` (string)
    The name of the module called.
    Example: "BackupInfo"

  - `result` (object)

  - `result.data` (array)

  - `result.data.fullpath` (string)
    The archive file name.

Note:
This duplicates the name return value.
    Example: "backup-11.128.0.6_2026-06-23_user.tar.gz"

  - `result.data.mtime` (integer)
    Archive modification time, epoch seconds.
    Example: 1750636800

  - `result.data.name` (string)
    The archive file name.
    Example: "backup-11.128.0.6_2026-06-23_user.tar.gz"

  - `result.data.sizeBytes` (integer)
    Size of the .tar.gz archive in bytes.
    Example: 524288000

  - `result.data.startedAtEpoch` (integer,null)
    Start epoch read from the marker file while a
run is active. Null when not running.
    Example: 1750636800

  - `result.data.status` (string)
    Archive status derived from the marker file.

* ready - No marker file is present.
* inprogress - A marker file is present and
  the run is within the timeout.
* timeout - A marker file is present and the
  run stalled past the timeout threshold.
    Enum: "ready", "inprogress", "timeout"

  - `result.errors` (array,null)
    List of errors if the API failed.

  - `result.messages` (array,null)
    List of messages generated by the API.

  - `result.metadata` (object)

  - `result.metadata.transformed` (integer)
    Post-processing may have transformed the data.
    Enum: 1

  - `result.status` (integer)
    * 1 - Success.
* 0 - Failed. Check the errors field for more
  details.
    Enum: 0, 1

  - `result.warnings` (array,null)
    List of warnings generated by the API. Warnings
describe non-critical failures or other problematic
conditions noted while running an API.


