Backup
Restore Backup
This endpoint restores data from an existing backup.
POST/v2/redis/restore-backup/{id}
cURL
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>"
}'200Response
"OK"Authorization
Authorizationheaderstringrequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idpathstringrequired
The ID of the Redis database
Body
backup_idstringrequired
ID of the backup to restore