# Restore Backup

> This endpoint restores data from an existing backup.

## Endpoint

`POST https://api.upstash.com/v2/redis/restore-backup/{id}`

## Parameters

- `id` (path, string, required): The ID of the Redis database

## Request body

- `backup_id` (string, required): ID of the backup to restore

## Responses

### 200 - Backup restored successfully


## cURL

```bash
curl --request POST \
  --url https://api.upstash.com/v2/redis/restore-backup/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "backup_id": "<backup_id>"
  }'
```
