Backup

Create Backup

This endpoint creates a backup for a Redis database.

POST/v2/redis/create-backup/{id}
cURL
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>"
  }'
200Response
"OK"

Authorization

Authorizationheaderstringrequired

Bearer authentication header of the form Bearer <token>.

Path parameters

idpathstringrequired

The ID of the Redis database

Body

namestringrequired

Name of the backup

Response

200 — Backup created successfully

Loading search…