---
title: "Restore Backup"
method: POST
path: "/redis/restore-backup/{id}"
tags: ["redis"]
---

# Restore Backup

`POST /redis/restore-backup/{id}`

## Request

- Base URL: `https://api.upstash.com/v2`
- URL: `https://api.upstash.com/v2/redis/restore-backup/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/upstash/apis/developer-api-upstash/docs/redis/restore-backup/:id/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint restores data from an existing backup.

## Path parameters

- `id` string, required

## Request body

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

## Response `200`

Backup restored successfully

- string

---

[API](https://skmtc.dev/upstash/apis/developer-api-upstash.md) - [All operations](https://skmtc.dev/upstash/apis/developer-api-upstash/llms.txt) - [OpenAPI document](https://skmtc.dev/upstash/apis/developer-api-upstash/revisions/bddbdcab9052?raw)
