---
title: "Restores a physical backup for a database"
method: POST
path: "/v1/projects/{ref}/database/backups/restore"
tags: ["Database"]
---

# Restores a physical backup for a database

`POST /v1/projects/{ref}/database/backups/restore`

## Path parameters

- `ref` string, required

## Request body

- V1RestoreBackupBody
  - `id` integer, required

## Response `201`

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded

---

[API](https://skmtc.dev/supabase/apis/management-api.md) · [All operations](https://skmtc.dev/supabase/apis/management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supabase/management-api/revisions/a7cb39418064/schema)
