Last modified November 7, 2024

getRestoreCondition

This function prints the objects data given its Restore Condition Object ID.
Parameter name Type Description Possible Values Example
_id String REQUIRED Restore Condition ID of the Restore Condition Object you are trying to fetch.   _id=5f864533cde674169f42ffe2

Example Call JETAPI

jetbackup5api -F getRestoreCondition -D "_id={$RESTORE_CONDITION_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: 650a0a889b70f2a5ac08c4b2
  condition: example
  disabled:

Example Call HTTP

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