Last modified November 7, 2024

getCloneJob

This function prints the objects data given its Clone Job ID.
Parameter name Type Description Possible values Example
_id String REQUIRED The Clone Job ID.   _id=5f8a7d0d348232507c4e7f02

Example Call JETAPI

jetbackup5api -F getCloneJob -D "_id={$CLONEJOB_ID}"
success: 1
message:
system:
version: 5.3.3
tier: STABLE
type: cPanel
drMode:
agreement:
licenseIssue:
data:
_id:
name:
destination:
destination_name:
time: 0
time_parsed: 12:00 AM
flag: 0
options: 0
monitor:
        ranfor: 0
        notran: 0
performance:
        lve:
        ionice: 1
        renice: 1
limitaccounts: 0
maximumruntime: 0
schedules:
filters:
pid: 0
progress:
excludelist:
time_estimation: 0
last_run:
next_run:
owner: root
disabled:
running:

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getCloneJob&_id={$CLONEJOB_ID}