This function prints the objects data given its Log Item ID.
Parameters
Parameter name |
Type |
Description |
Possible Values |
Example |
log_id |
String |
REQUIRED The Log ID. |
|
log_id=5f890a19e55cf262863522f2 |
_id |
String |
REQUIRED The Log Item ID. |
|
_id=607e460b7a5bf7162226855f |
The Log ID and Log Item ID can be found by running the listLogs/listLogItems commands respectively.
Example Call JETAPI
jetbackup5api -F getLogItem -D "log_id={$LOG_ID}&_id={$LOG_ITEM_ID}"
success: 1
message:
system:
version: 5.3.3
version_panel: 5.3.3
tier: EDGE
type: cPanel
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
_id: 65091b55d49adbd1660f06ea
owner: 65091b2a3f17831bb00f06e1
owner_name: example2
created: 2023-09-19T03:53:57+00:00
started: 2023-09-19T03:53:58+00:00
ended: 2023-09-19T03:54:06+00:00
execution_time: 8
type: 1
group_id: 65091b55d49adbd1660f06e8
priority: 50
status: 100
message: Backup completed successfully
progress_id: 65091b55d49adbd1660f06ec
progress:
_id: 65091b55d49adbd1660f06ec
group_id: 65091b55d49adbd1660f06e8
item_id: 65091b55d49adbd1660f06ea
name:
total: 11
completed: 11
subtotal: 0
subcompleted: 0
name_files: Local
total_files: 0
completed_files: 0
percentage: 100
percentage_sub: 0
percentage_files: 0
file: /usr/local/jetapps/var/log/jetbackup5/queue/1_65091b55d49adbd1660f06e8/65091b55d49adbd1660f06ea.log
data:
_id: 65091af275e69fa2b808c0e2
manually: 1
snapshot:
account: example2
account_nickname: example2
destinations:
0: 6508e8f1bd155427ab017ca2
Example Call HTTP
https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getLogItem&log_id={$LOG_ID}&_id={$LOG_ITEM_ID}