# Create Backup

> This endpoint creates a backup for a Redis database.

## Endpoint

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

## Parameters

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

## Request body

- `name` (string, required): Name of the backup

## Responses

### 200 - Backup created successfully


## cURL

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