---
search:
  tags:
    - console-backup
    - POST
seo:
  description: >-
    Streams the request body into the data volume. It… Reference for the POST
    /api/v1/console-backup/restore/uploads endpoint in the TimescaleDB
    Enterprise API.
  noindex: true
sidebar:
  label: Upload a restore archive
  badge: POST
title: Upload a restore archive
type: openapi-operation
---
Streams the request body into the data volume. It needs a Content-Length, and the data volume must have the size and 1 GB more free (507). A new upload replaces the earlier one. The console removes the upload after the restore, and at each start.

`POST /api/v1/console-backup/restore/uploads`

**Request body** (`application/octet-stream`, required)

Request body example:

```json
"string"
```

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "file_name": "string",
  "size": 0,
  "upload_id": "string"
}
```
