---
title: "Runrestorejob"
method: POST
path: "/control/jobs/restore"
tags: ["jobcontrol", "control", "jobs"]
---

# Runrestorejob

`POST /control/jobs/restore`

Run a restore-job, defined by jobControl record.

## Request body

- BodyRunRestoreJobControlJobsRestorePost
  - `jobControl` RestoreJobControl, required
    - `client` string, required
    - `where` string, path
    - `storage` string
    - `bootstrap` string
    - `restorejob` string
    - `comment` string
    - `jobid` integer
    - `fileset` string
    - `replace` 'always' | 'never' | 'ifolder' | 'ifnewer' — Replace option used by restore command
    - `pluginoptions` string
    - `regexwhere` string
    - `restoreclient` string
    - `backupformat` string
    - `pool` string
    - `file` string
    - `directory` string
    - `before` string
    - `strip_prefix` string
    - `add_prefix` string
    - `add_suffix` string
    - `select` string
    - `selectAllDone` 'yes' | 'no' — An enumeration.

## 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/versions/c6a9677e1448/schema)
