Last modified November 7, 2024

rerunFailedQueueGroup

This function retries failed items and is only available for Failed or Partially Completed backup jobs.
Parameter name Type Description Possible values Example
_id String REQUIRED The ID of the Queue Group that you want to retry failed items.   _id=5b60448dd5ac5e4a877ac382

Example Call JETAPI

jetbackup5api -F rerunFailedQueueGroup -D "_id={$QUEUE_GROUP_ID}"
success: 1
message: Failed Items Added To The Queue
system:
  version: 5.3.5
  version_panel: 5.3.5
  tier: BETA
  type: cPanel
  retry_ms: 0
  disableui:
  dr:
  agreement_panel:
  agreement:
  licenseIssue:
data:
  _id: 6572463ff6c2139b0702eb46
  owner: 655e901d8179c9052b0ce5e6
  owner_name: test
  created: 2023-12-07T22:25:03+00:00
  started: 2023-12-07T22:25:03+00:00
  ended:
  type: 2
  items: 1
  items_completed: 0
  finalize:
  status: 1
  can_rerun: 1
  rerun_failed: 1
  log_id: 6572463f1ad7fd79560350e2
  status_time: 2023-12-07T22:31:19+00:00
  progress:
    _id: 6572463ff6c2139b0702eb48
    group_id: 6572463ff6c2139b0702eb46
    item_id: 6572463ff6c2139b0702eb47
    name:
    total: 3
    completed: 0
    subtotal: 1
    subcompleted: 0
    name_files:
    total_files: 0
    completed_files: 0
    percentage: 0
    percentage_sub: 0
    percentage_files: 0
  execution_time: 376
  actual_time: 0
  log_file: /usr/local/jetapps/var/log/jetbackup5/queue/2_6572463ff6c1853b0702eb46.log
  log_contents:
  data:
    account: test
    priority: 100050

Example Call HTTP

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