Last modified August 13, 2026

getBackupJob

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

Example Call JETAPI

This function prints the objects data given its Backup Job ID.
data: 
      _id: 6a6bc40a01ff2b455e075e12
      name: Immutable Backups
      destination: 
        0: 6a5941f993709988360bd132
      destination_details: 
        0: 
          _id: 6a5941f993709988360bd132
          name: Wasabi-OL
          disabled: 
      type: 1
      contains: 511
      structure: 1
      options: 0
      state: 0
      owner: 6a18a4003fe0118aea07d3b2
      owner_name: root
      next_run: 2026-08-13T16:45:00+00:00
      last_run: 2026-08-13T13:45:00+00:00
      last_completed: 2026-08-13T13:46:56+00:00
      running: 
      retry_failed: 0
      disabled: 0
      time: 945
      monitor: 
        ranfor: 0
        notran: 0
      manually_retain: 0
      exclude_list: 
        0: tmp/*
        1: lscache/*
      encrypted: 0
      schedules: 
        0: 
          _id: 6a4d23f1efc3b81aa006cc22
          name: 2
          type: 1
          next_run: 2026-08-13T16:45:00+00:00
          retain: 2
      immutable: 1
      object_lock_days: 4
      object_lock_score: 
        score: 90
        status: WARNING
        is_allowed: 1
        safe_min: 2
        block_min: 1
        optimal: 2
        lock_days: 4
        category: calendar
        manual_retain: 30
        manual_ttl: 0
        breakdown: 
      hooks: 
      mysql_exclude_db_by_size: 0
      postgresql_exclude_db_by_size: 0
      mongodb_exclude_db_by_size: 0
      filters: 
        0: 
          0: 6a5aae1b91757659060e25a3

Example Call HTTP

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