# Restore a MariaDB Cluster from a Backup

The request restores a MariaDB cluster from a backup.

## Prerequisites

The backup must:

* belong to the MariaDB cluster to be restored.
* be in the `AVAILABLE` state.

## Request

{% hint style="info" %}
**Info:** The sample `UUID` in the example is `498ae72f-411f-11eb-9d07-046c59cc737e`.
{% endhint %}

```bash
curl -X 'POST' \
  'https://mariadb.de-txl.ionos.com/clusters/{clusterId}/restore' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
      "backupId": "498axce2f-411f-11eb-9d07-046c80cc737e",
      "recoveryTargetTime": "2020-12-10T13:37:50+01:00"
}'
```

## Response

You will receive a **202 Successful operation** when the request is complete.
