Last modified October 31, 2024

createBackupOnDemand

This function allows you to manually create a backup to the destination assigned in Backup on Demand settings.

Backup on Demand settings

Parameters
Parameter name Type Description Possible values Examples
account_id String REQUIRED: ID of the account you wish to backup on demand.   _id=5fc96deeac61ab0bc3020323

Example Call JETAPI

jetbackup5api -F createBackupOnDemand -D "account_id={$ACCOUNT_ID}"
success: 1 message: Backup on demand added to the queue system: version: 5.3.3 version_panel: 5.3.3 tier: EDGE type: cPanel retry_ms: 0 disableui: dr: agreement_panel: agreement: licenseIssue: data:

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=createBackupOnDemand&account_id={$ACCOUNT_ID}