---
title: "Runjob"
method: POST
path: "/control/jobs/run"
tags: ["jobcontrol", "control", "jobs"]
---

# Runjob

`POST /control/jobs/run`

Run a job, defined by jobControl record.

**Note**: Swagger throws a weird error when running this command by the UI,
while the given curl statement works fine.

## Request body

- BodyRunJobControlJobsRunPost
  - `jobControl` JobControl, required
    - `job` string, required
    - `client` string
    - `fileset` string
    - `level` 'Base' | 'Full' | 'Incremental' | 'Differential' | 'Since' | 'Verify Catalog' | 'Init Catalog' | 'Volume to Catalog' — Allowed job level full description strings
    - `storage` string
    - `when` string
    - `pool` string
    - `pluginoptions` string
    - `accurate` 'yes' | 'no' — An enumeration.
    - `comment` string
    - `spooldata` 'yes' | 'no' — An enumeration.
    - `priority` string
    - `catalog` string
    - `migrationjob` string
    - `backupformat` string
    - `nextpool` string
    - `since` string
    - `verifyjob` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/bareos/apis/bareos-rest-api.md) · [All operations](https://skmtc.net/bareos/apis/bareos-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bareos/bareos-rest-api/revisions/c6a9677e1448/schema)
